File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/semmle/python/objects
test/library-tests/PointsTo/calls Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ class CallableValue extends Value {
363
363
or
364
364
exists ( string name |
365
365
call .getArgByName ( name ) = result and
366
- this .( PythonFunctionObjectInternal ) .getScope ( ) .getArg ( n + offset ) .getName ( ) = name
366
+ this .( PythonFunctionObjectInternal ) .getScope ( ) .getArg ( n ) .getName ( ) = name
367
367
)
368
368
or
369
369
called instanceof BoundMethodObjectInternal and
Original file line number Diff line number Diff line change 19
19
| 40 | ControlFlowNode for f() | Function f | 0 | ControlFlowNode for IntegerLiteral |
20
20
| 40 | ControlFlowNode for f() | Function f | 1 | ControlFlowNode for IntegerLiteral |
21
21
| 40 | ControlFlowNode for f() | Function f | 2 | ControlFlowNode for IntegerLiteral |
22
- | 42 | ControlFlowNode for Attribute() | Function C.n | 0 | ControlFlowNode for IntegerLiteral |
23
22
| 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