Skip to content

Commit 6b3557e

Browse files
author
Robert Marsh
committed
C++: cache localAdditionalTaintStep
1 parent bc3e74f commit 6b3557e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/TaintTrackingUtil.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ predicate localTaintStep(DataFlow::Node nodeFrom, DataFlow::Node nodeTo) {
1919
* local data flow steps. That is, `nodeFrom` and `nodeTo` are likely to represent
2020
* different objects.
2121
*/
22+
cached
2223
predicate localAdditionalTaintStep(DataFlow::Node nodeFrom, DataFlow::Node nodeTo) {
2324
localInstructionTaintStep(nodeFrom.asInstruction(), nodeTo.asInstruction())
2425
or

0 commit comments

Comments
 (0)