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

Class DirectPosition

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowPrivate

Direct supertypes

Indirect supertypes

Fields

Predicates

getArgumentIndex

Gets the argument index of this position. The qualifier of a call has argument index -1.

getIndirectionIndex

Gets the indirection index of this position.

toString

Gets a textual representation of this position.

Inherited predicates

getArgument

Gets the argument (or qualifier) of call associated with this position, if any.

from Position
getParameter

Gets the parameter of f associated with this position, if any.

from Position

Charpred