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

Predicate allocationFunctionModel

Holds if an external allocation model exists for the given parameters.

Import path

import cpp
predicate allocationFunctionModel(string namespace, string type, boolean subtypes, string name, string sizeArg, string multArg, string reallocPtrArg, boolean requiresDealloc)