Skip to content

Commit c0c96ea

Browse files
committed
[DIFF-INFORMED] C++: UseOfHttp
1 parent 8560868 commit c0c96ea

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cpp/ql/src/Security/CWE/CWE-319/UseOfHttp.ql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ module HttpStringToUrlOpenConfig implements DataFlow::ConfigSig {
8787
sink.asIndirectExpr() = fc.getArgument(3)
8888
)
8989
}
90+
91+
predicate observeDiffInformedIncrementalMode() { any() }
92+
93+
Location getASelectedSourceLocation(DataFlow::Node source) {
94+
result = source.asIndirectExpr().getLocation()
95+
}
96+
97+
Location getASelectedSinkLocation(DataFlow::Node sink) { none() }
9098
}
9199

92100
module HttpStringToUrlOpen = TaintTracking::Global<HttpStringToUrlOpenConfig>;

0 commit comments

Comments
 (0)