C++: Update the experimental query as well.

This commit is contained in:
Geoffrey White
2023-01-05 12:47:12 +00:00
parent 46baf9d5e5
commit 3b31da8a62
3 changed files with 7 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ class MultToAllocConfig extends DataFlow::Configuration {
override predicate isSink(DataFlow::Node node) {
// something that affects an allocation size
node.asExpr() = any(AllocationExpr ae).getSizeExpr().getAChild*()
node.asExpr() = any(HeuristicAllocationExpr ae).getSizeExpr().getAChild*()
}
}