mirror of
https://github.com/github/codeql.git
synced 2026-01-01 08:42:06 +01:00
11 lines
301 B
Plaintext
11 lines
301 B
Plaintext
|
|
import python
|
|
|
|
import semmle.python.Pruning
|
|
|
|
from Pruner::Constraint c, SsaVariable var, Pruner::UnprunedCfgNode node, int line
|
|
where c = Pruner::constraintFromTest(var, node) and line = node.getNode().getLocation().getStartLine() and
|
|
line > 0
|
|
select line, node.getNode().toString(), var.getId(), c
|
|
|