C++: Give OperatorNewAllocationFunction, OperatorDeleteAllocationFunction proper interfaces.

This commit is contained in:
Geoffrey White
2020-11-04 08:56:58 +00:00
parent 7f54379a0c
commit b5326b3937
6 changed files with 28 additions and 18 deletions

View File

@@ -5,8 +5,6 @@
import cpp
import semmle.code.cpp.controlflow.SSA
import semmle.code.cpp.dataflow.DataFlow
import semmle.code.cpp.models.implementations.Allocation
import semmle.code.cpp.models.implementations.Deallocation
/**
* Holds if `alloc` is a use of `malloc` or `new`. `kind` is