File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
python/ql/test/library-tests/PointsTo/regressions/missing Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
import python
2
2
3
- from NameNode name , CallNode call , string debug
3
+ from ControlFlowNode arg , CallNode call , string debug
4
4
where
5
- call .getAnArg ( ) = name and
5
+ call .getAnArg ( ) = arg and
6
6
call .getFunction ( ) .( NameNode ) .getId ( ) = "check" and
7
- if exists ( name .pointsTo ( ) )
8
- then debug = name .pointsTo ( ) .toString ( )
7
+ if exists ( arg .pointsTo ( ) )
8
+ then debug = arg .pointsTo ( ) .toString ( )
9
9
else debug = "<MISSING pointsTo()>"
10
- select name , debug
10
+ select arg , debug
Original file line number Diff line number Diff line change 1
1
import python
2
2
3
- from NameNode name , CallNode call , string debug
3
+ from ControlFlowNode arg , CallNode call , string debug
4
4
where
5
- call .getAnArg ( ) = name and
5
+ call .getAnArg ( ) = arg and
6
6
call .getFunction ( ) .( NameNode ) .getId ( ) = "check" and
7
- if exists ( name .pointsTo ( ) )
8
- then debug = name .pointsTo ( ) .toString ( )
7
+ if exists ( arg .pointsTo ( ) )
8
+ then debug = arg .pointsTo ( ) .toString ( )
9
9
else debug = "<MISSING pointsTo()>"
10
- select name , debug
10
+ select arg , debug
You can’t perform that action at this time.
0 commit comments