Skip to content

Commit 3189c57

Browse files
committed
C++: Add QLDoc to subpaths in DefaultTaintTracking
1 parent c2b356a commit 3189c57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/DefaultTaintTracking.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,10 @@ module TaintedWithPath {
550550
)
551551
}
552552

553+
/**
554+
* Holds if there is flow from `arg` to `out` across a call that can by summarized by the flow
555+
* from `par` to `ret` within it, in the graph of data flow path explanations.
556+
*/
553557
query predicate subpaths(PathNode arg, PathNode par, PathNode ret, PathNode out) {
554558
DataFlow3::PathGraph::subpaths(arg.(WrapPathNode).inner(), par.(WrapPathNode).inner(),
555559
ret.(WrapPathNode).inner(), out.(WrapPathNode).inner())

0 commit comments

Comments
 (0)