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

Predicate parentSetFor

The ID of the parent set for the given expression. Children of the given element should be looked up with children() and childrenByElement() using this ID.

Import path

import semmle.code.cpp.pointsto.PointsTo
predicate parentSetFor(int cset, @element expr)