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

Member predicate HeuristicAllocationExpr::getSizeBytes

Gets the size of this allocation in bytes, if it is a fixed size and that size can be determined. This predicate should be used with caution as it can be inaccurate for allocations identified using heuristics.

int getSizeBytes()