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

Predicate dereferencedByOperation

Holds if evaluation of op dereferences e.

This includes the set of operations identified via directDereferencedByOperation, as well as calls to function that are known to dereference an argument.

Import path

import cpp
predicate dereferencedByOperation(Expr op, Expr e)