mirror of
https://github.com/github/codeql.git
synced 2026-01-04 10:10:20 +01:00
13 lines
370 B
Plaintext
13 lines
370 B
Plaintext
/**
|
|
* @kind path-problem
|
|
*/
|
|
|
|
import python
|
|
import semmle.python.dataflow.TaintTracking
|
|
import TaintLib
|
|
|
|
from RockPaperScissorConfig config, TaintedPathSource src, TaintedPathSink sink
|
|
where config.hasFlowPath(src, sink)
|
|
select sink.getSink(), src, sink, "$@ loses to $@.", src.getNode(), src.getTaintKind().toString(),
|
|
sink.getNode(), sink.getTaintKind().toString()
|