Skip to content

Commit 36d43a4

Browse files
committed
[DIFF-INFORMED] C++: CgiXss
1 parent 80da00b commit 36d43a4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cpp/ql/src/Security/CWE/CWE-079/CgiXss.ql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ module Config implements DataFlow::ConfigSig {
3939
or
4040
node.asCertainDefinition().getUnspecifiedType() instanceof ArithmeticType
4141
}
42+
43+
predicate observeDiffInformedIncrementalMode() { any() }
44+
45+
Location getASelectedSourceLocation(DataFlow::Node source) {
46+
exists(QueryString query | result = query.getLocation() | query = source.asIndirectExpr())
47+
}
4248
}
4349

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

0 commit comments

Comments
 (0)