mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
python: no longer missing
This commit is contained in:
@@ -43,12 +43,12 @@ def OK():
|
|||||||
class With_index:
|
class With_index:
|
||||||
def __index__(self):
|
def __index__(self):
|
||||||
SINK1(self)
|
SINK1(self)
|
||||||
OK() # Call not found
|
OK()
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
def test_index():
|
def test_index():
|
||||||
import operator
|
import operator
|
||||||
|
|
||||||
with_index = With_index() #$ MISSING: arg1="SSA variable with_index" func=With_index.__index__
|
with_index = With_index() #$ arg1="SSA variable with_index" func=With_index.__index__
|
||||||
operator.index(with_index)
|
operator.index(with_index)
|
||||||
|
|||||||
Reference in New Issue
Block a user