C++: cache localAdditionalTaintStep

This commit is contained in:
Robert Marsh
2020-09-18 15:42:14 -07:00
parent bc3e74f7d6
commit 6b3557ec58

View File

@@ -19,6 +19,7 @@ predicate localTaintStep(DataFlow::Node nodeFrom, DataFlow::Node nodeTo) {
* local data flow steps. That is, `nodeFrom` and `nodeTo` are likely to represent
* different objects.
*/
cached
predicate localAdditionalTaintStep(DataFlow::Node nodeFrom, DataFlow::Node nodeTo) {
localInstructionTaintStep(nodeFrom.asInstruction(), nodeTo.asInstruction())
or