mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
That was not possible when using the old Object-API, but in Value-API getACall is defined on all Values.
6 lines
157 B
Plaintext
6 lines
157 B
Plaintext
import python
|
|
|
|
from ControlFlowNode call, Value func
|
|
where call = func.getACall()
|
|
select call.getLocation().getStartLine(), call.toString(), func.toString()
|