Files
codeql/python/ql/test/library-tests/PointsTo/regressions/missing/re-compile/Test.ql
2020-02-28 13:41:26 +01:00

11 lines
290 B
Plaintext

import python
from NameNode name, CallNode call, string debug
where
call.getAnArg() = name and
call.getFunction().(NameNode).getId() = "check" and
if exists(name.pointsTo())
then debug = name.pointsTo().toString()
else debug = "<MISSING pointsTo()>"
select name, debug