CodeQL library for C/C++
codeql/cpp-all 0.12.11 (changelog, source)
Search

Member predicate HeuristicAllocationFunction::getSizeArg

Gets the index of the argument for the allocation size, if any. The actual allocation size is the value of this argument multiplied by the result of getSizeMult(), in bytes.

int getSizeArg()