mirror of
https://github.com/github/codeql.git
synced 2026-02-23 10:23:41 +01:00
9 lines
291 B
Plaintext
9 lines
291 B
Plaintext
import cpp
|
|
import semmle.code.cpp.dataflow.TaintTracking
|
|
|
|
from DataFlow::Node nodeFrom, DataFlow::Node nodeTo, string msg
|
|
where
|
|
TaintTracking::localTaintStep(nodeFrom, nodeTo) and
|
|
if DataFlow::localFlowStep(nodeFrom, nodeTo) then msg = "" else msg = "TAINT"
|
|
select nodeFrom, nodeTo, msg
|