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

16 lines
249 B
Plaintext

/**
* @name ExprsBasic5
* @kind table
*/
import cpp
from Function f, VariableAccess va, GlobalVariable v
where f.hasName("set_current_foo")
and va.getEnclosingFunction() = f
and v.hasName("current_foo")
and va.getTarget() = v
select va