mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
[DIFF-INFORMED] C++: TaintedPath
This commit is contained in:
@@ -93,6 +93,12 @@ module TaintedPathConfig implements DataFlow::ConfigSig {
|
|||||||
// make sinks barriers so that we only report the closest instance
|
// make sinks barriers so that we only report the closest instance
|
||||||
isSink(node)
|
isSink(node)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
predicate observeDiffInformedIncrementalMode() { any() }
|
||||||
|
|
||||||
|
Location getASelectedSinkLocation(DataFlow::Node sink) {
|
||||||
|
result = sink.asIndirectArgument().getLocation()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module TaintedPath = TaintTracking::Global<TaintedPathConfig>;
|
module TaintedPath = TaintTracking::Global<TaintedPathConfig>;
|
||||||
|
|||||||
Reference in New Issue
Block a user