Skip to content

Commit a77cab6

Browse files
committed
[DIFF-INFORMED] C++: TaintedPath
1 parent 91b9c3e commit a77cab6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cpp/ql/src/Security/CWE/CWE-022/TaintedPath.ql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ module TaintedPathConfig implements DataFlow::ConfigSig {
9393
// make sinks barriers so that we only report the closest instance
9494
isSink(node)
9595
}
96+
97+
predicate observeDiffInformedIncrementalMode() { any() }
98+
99+
Location getASelectedSinkLocation(DataFlow::Node sink) {
100+
result = sink.asIndirectArgument().getLocation()
101+
}
96102
}
97103

98104
module TaintedPath = TaintTracking::Global<TaintedPathConfig>;

0 commit comments

Comments
 (0)