C++: Fix performance issue in hasTaintFlow / hasDataFlow.

This commit is contained in:
Geoffrey White
2021-01-18 14:52:35 +00:00
parent 15089c4117
commit a5632b272e
2 changed files with 2 additions and 0 deletions

View File

@@ -24,5 +24,6 @@ abstract class DataFlowFunction extends Function {
* represented by `input` to the return value or buffer represented by
* `output`
*/
pragma[nomagic]
abstract predicate hasDataFlow(FunctionInput input, FunctionOutput output);
}

View File

@@ -28,5 +28,6 @@ abstract class TaintFunction extends Function {
* Holds if data passed into the argument, qualifier, or buffer represented by
* `input` influences the return value or buffer represented by `output`
*/
pragma[nomagic]
abstract predicate hasTaintFlow(FunctionInput input, FunctionOutput output);
}