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

Predicate directDereferencedByOperation

Holds if evaluation of op dereferences e directly.

This predicate does not recurse through function calls or arithmetic operations. To find such cases, use dereferencedByOperation.

Import path

import cpp
predicate directDereferencedByOperation(Expr op, Expr e)