File tree Expand file tree Collapse file tree
src/semmle/python/objects
test/library-tests/PointsTo/calls Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ class CallableValue extends Value {
363363 or
364364 exists ( string name |
365365 call .getArgByName ( name ) = result and
366- this .( PythonFunctionObjectInternal ) .getScope ( ) .getArg ( n + offset ) .getName ( ) = name
366+ this .( PythonFunctionObjectInternal ) .getScope ( ) .getArg ( n ) .getName ( ) = name
367367 )
368368 or
369369 called instanceof BoundMethodObjectInternal and
Original file line number Diff line number Diff line change 1919| 40 | ControlFlowNode for f() | Function f | 0 | ControlFlowNode for IntegerLiteral |
2020| 40 | ControlFlowNode for f() | Function f | 1 | ControlFlowNode for IntegerLiteral |
2121| 40 | ControlFlowNode for f() | Function f | 2 | ControlFlowNode for IntegerLiteral |
22- | 42 | ControlFlowNode for Attribute() | Function C.n | 0 | ControlFlowNode for IntegerLiteral |
2322| 42 | ControlFlowNode for Attribute() | Function C.n | 0 | ControlFlowNode for c |
23+ | 42 | ControlFlowNode for Attribute() | Function C.n | 1 | ControlFlowNode for IntegerLiteral |
You can’t perform that action at this time.
0 commit comments