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

Predicate isAllocationExpr

Is e some kind of allocation (new, alloc, realloc etc)?

Import path

import cpp
predicate isAllocationExpr(Expr e)