CodeQL library for C/C++
codeql/cpp-all 0.3.3 (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()