mirror of
https://github.com/github/codeql.git
synced 2025-12-19 02:13:17 +01:00
8 lines
206 B
Plaintext
8 lines
206 B
Plaintext
import cpp
|
|
|
|
from FunctionCall free, LocalScopeVariable v, VariableAccess u
|
|
where freeCall(free, v.getAnAccess())
|
|
and u = v.getAnAccess()
|
|
and u.isRValue()
|
|
and free.getASuccessor+() = u
|
|
select free, u |