Files
codeql/cpp/ql/test/library-tests/calls/Calls1.ql
2018-08-02 17:53:23 +01:00

11 lines
211 B
Plaintext

/**
* @name Calls1
* @kind table
*/
import cpp
from Function a, string rel, Function b
where (a.accesses(b) and rel = "accesses") or
(a.calls(b) and rel = "calls")
select a.getName(), rel, b.getName()