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 11import python
22
3- from NameNode name , CallNode call , string debug
3+ from ControlFlowNode arg , CallNode call , string debug
44where
5- call .getAnArg ( ) = name and
5+ call .getAnArg ( ) = arg and
66 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 ( )
99 else debug = "<MISSING pointsTo()>"
10- select name , debug
10+ select arg , debug
Original file line number Diff line number Diff line change 11import python
22
3- from NameNode name , CallNode call , string debug
3+ from ControlFlowNode arg , CallNode call , string debug
44where
5- call .getAnArg ( ) = name and
5+ call .getAnArg ( ) = arg and
66 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 ( )
99 else debug = "<MISSING pointsTo()>"
10- select name , debug
10+ select arg , debug
You can’t perform that action at this time.
0 commit comments