mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
8 lines
217 B
Plaintext
8 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."
|