CodeQL library for C/C++
Search

Predicate freeExpr

Holds if free is a use of free or delete. freed is the expression that is freed / deleted and kind is a string describing the type of that free or delete.

Import path

import Critical.NewDelete
predicate freeExpr(Expr free, Expr freed, string kind)