Files
codeql/java/ql/test/library-tests/ssa/ssaDef.ql
2018-08-30 10:48:05 +01:00

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