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

Class IndirectionPosition

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
isForward

Holds if this position is the synthetic argument for an address of a constructor used for functions which perform “perfect forwarding”.

from Position

Charpred