mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
Python points-to: Fix up tuple inequality analysis.
This commit is contained in:
@@ -1343,9 +1343,9 @@ module Expressions {
|
||||
or
|
||||
n = other.length() and n = val.length() and result = 0
|
||||
or
|
||||
result != 0 and result = compare_unbound(val.getItem(n), val.getItem(n))
|
||||
result != 0 and result = compare_unbound(val.getItem(n), other.getItem(n))
|
||||
or
|
||||
compare_unbound(val.getItem(n), val.getItem(n)) = 0 and result = compare_sequence(val, other, n+1)
|
||||
compare_unbound(val.getItem(n), other.getItem(n)) = 0 and result = compare_sequence(val, other, n+1)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user