mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
7 lines
217 B
Plaintext
7 lines
217 B
Plaintext
import javascript
|
|
|
|
from Function f, GlobalVariable gv
|
|
where gv.getAnAccess().getEnclosingFunction() = f and
|
|
not f.getStartBB().isLiveAtEntry(gv, _)
|
|
select f, "This function uses " + gv + " like a local variable."
|