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

Class DataFlowCall

A function call relevant for data flow. This includes calls from source code and calls inside library callables with a flow summary.

Import path

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

Direct supertypes

Known direct subtypes

    Predicates

    asCallInstruction

    Gets the underlying data flow call instruction, if any.

    getArgument

    Gets the argument at the specified index, or this if index is -1.

    getArgumentOperand

    Gets the index’th argument operand. The qualifier is considered to have index -1.

    getCallTargetOperand

    Gets the operand the specifies the target function of the call.

    getEnclosingCallable

    Gets the enclosing callable, if any.

    getLocation

    Gets the location of this call.

    getNumberOfArguments

    Gets the number of arguments of the call, including the this pointer, if any.

    getStaticCallTarget

    Gets the Function that the call targets, if this is statically known.

    toString

    Gets a textual representation of this call.