mirror of
https://github.com/github/codeql.git
synced 2026-02-27 04:13:51 +01:00
8 lines
237 B
Plaintext
8 lines
237 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
|