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

Member predicate AllocationExpr::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()