Skip to content

Commit 62fa730

Browse files
committed
[DIFF-INFORMED] C++: ImproperNullTerminationTainted
1 parent f3098e7 commit 62fa730

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cpp/ql/src/Security/CWE/CWE-170/ImproperNullTerminationTainted.ql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ private module Config implements DataFlow::ConfigSig {
4343
}
4444

4545
predicate isSink(DataFlow::Node sink) { isSink(sink, _) }
46+
47+
predicate observeDiffInformedIncrementalMode() { any() }
48+
49+
Location getASelectedSinkLocation(DataFlow::Node sink) {
50+
exists(VariableAccess va | result = va.getLocation() | isSink(sink, va))
51+
}
4652
}
4753

4854
module Flow = TaintTracking::Global<Config>;

0 commit comments

Comments
 (0)