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

Member predicate HeuristicAllocationExpr::getSizeExpr

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

Expr getSizeExpr()