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