Files
codeql/python/ql/test/library-tests/PointsTo/calls/GetACall.ql
Rasmus Wriedt Larsen f624754390 Python: Use Value in GetACAll test
That was not possible when using the old Object-API, but in Value-API getACall
is defined on all Values.
2020-05-04 20:50:06 +02:00

6 lines
157 B
Plaintext

import python
from ControlFlowNode call, Value func
where call = func.getACall()
select call.getLocation().getStartLine(), call.toString(), func.toString()