C++: Fix query formatting

This commit is contained in:
Jeroen Ketema
2023-03-07 18:55:58 +01:00
parent 2eb2e11ef7
commit 0c39d1e5ca
2 changed files with 5 additions and 7 deletions

View File

@@ -56,8 +56,8 @@ predicate isSinkImpl(DataFlow::Node sink, SensitiveBufferWrite w) {
}
from
SensitiveBufferWrite w, ToBufferFlow::PathNode sourceNode,
ToBufferFlow::PathNode sinkNode, FlowSource source
SensitiveBufferWrite w, ToBufferFlow::PathNode sourceNode, ToBufferFlow::PathNode sinkNode,
FlowSource source
where
ToBufferFlow::hasFlowPath(sourceNode, sinkNode) and
sourceNode.getNode() = source and

View File

@@ -91,9 +91,7 @@ module HttpStringToUrlOpenConfig implements DataFlow::ConfigSig {
module HttpStringToUrlOpen = TaintTracking::Make<HttpStringToUrlOpenConfig>;
from
HttpStringToUrlOpen::PathNode source, HttpStringToUrlOpen::PathNode sink,
HttpStringLiteral str
from HttpStringToUrlOpen::PathNode source, HttpStringToUrlOpen::PathNode sink, HttpStringLiteral str
where
HttpStringToUrlOpen::hasFlowPath(source, sink) and
str = source.getNode().asIndirectExpr()