mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
13 lines
257 B
Plaintext
13 lines
257 B
Plaintext
import java
|
|
import semmle.code.java.dataflow.SSA
|
|
|
|
from SsaVariable ssa, SsaSourceVariable v, string s
|
|
where
|
|
ssa.getSourceVariable() = v and
|
|
(
|
|
s = ssa.toString()
|
|
or
|
|
not exists(ssa.toString()) and s = "error"
|
|
)
|
|
select v, ssa.getCFGNode(), s
|