Class IRFunction

Represents the IR for a function.

Import path

import semmle.code.cpp.ir.implementation.unaliased_ssa.IRFunction

Direct supertypes

Fields

Predicates

getABlock

Gets all blocks in this function.

getAnInstruction

Gets all instructions in this function.

getEnterFunctionInstruction

Gets the entry point for this function.

getEntryBlock

Gets the block containing the entry point of this function.

getExitFunctionInstruction

Gets the exit point for this function.

getFunction

Gets the function whose IR is represented.

getLocation

Gets the location of the function.

getReturnInstruction

Gets the single return instruction for this function.

getReturnVariable

Gets the variable used to hold the return value of this function. If this function does not return a value, this predicate does not hold.

getUnmodeledDefinitionInstruction
getUnmodeledUseInstruction
toString

Charpred