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

Member predicate Def::getIndirection

Gets the indirection level that this definition is writing to. For instance, x = y is a definition of x at indirection level 1 and *x = y is a definition of x at indirection level 2.

This predicate ensures that joins go from defOrUse to the result instead of the other way around.

int getIndirection()