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

Predicate pointerFromCompound

The compound (parent, label) holds pointers to dest.

Import path

import semmle.code.cpp.pointsto.PointsTo
predicate pointerFromCompound(Element parent, string label, Element dest)