Files
2020-03-30 11:59:10 +02:00

13 lines
354 B
Plaintext

/**
* @name SSA
* @description Insert description here...
* @kind table
* @problem.severity warning
*/
import python
from ControlFlowNode defn, SsaVariable v, AugAssign a, BinaryExpr b
where v.getDefinition() = defn and a.getOperation() = b and b.contains(defn.getNode().(Expr))
select defn.toString(), defn.getNode().getLocation().getStartLine()