mirror of
https://github.com/github/codeql.git
synced 2026-01-08 12:10:22 +01:00
14 lines
467 B
Plaintext
14 lines
467 B
Plaintext
import python
|
|
import semmle.python.security.TaintTracking
|
|
import TaintLib
|
|
import semmle.python.dataflow.Implementation
|
|
|
|
|
|
from TaintTrackingNode n, TaintTrackingNode s, TestConfig config
|
|
where s = n.getASuccessor() and config = n.getConfiguration()
|
|
select
|
|
config + ":",
|
|
n.getTaintKind(), n.getLocation().toString(), n.getNode().toString(), n.getContext(),
|
|
" --> ",
|
|
s.getTaintKind(), s.getLocation().toString(), s.getNode().toString(), s.getContext()
|