mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
16 lines
249 B
Plaintext
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
|
|
|
|
|
|
|