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

Predicate setlocations

The elements that are either in the given points-to set, or which flow into it from another set. The results are restricted to sets which are interesting.

Import path

import semmle.code.cpp.pointsto.PointsTo
predicate setlocations(int set, @element location)