Files
codeql/python/tools/recorded-call-graph-metrics/ql/UnidentifiedRecordedCalls.ql
Rasmus Wriedt Larsen f1601d643a Python: autoformat
2020-07-14 14:12:56 +02:00

8 lines
330 B
Plaintext

import RecordedCalls
from RecordedCall rc
where not rc instanceof ValidRecordedCall
select "Could not uniquely identify this recorded call (either call or callee was not uniquely identified)",
rc.call_filename(), rc.call_linenum(), rc.call_inst_index(), "-->", rc.callee_filename(),
rc.callee_linenum(), rc.callee_funcname()