Class TranslatedAllocatorCall
The IR translation of a call to operator new
as part of a new
or new[]
expression.
Import path
import semmle.code.cpp.ir.implementation.raw.internal.TranslatedExpr
Direct supertypes
Indirect supertypes
Fields
Predicates
getArgument | Gets the argument with the specified |
getCallResultType | Gets the result type of the call. |
getInstructionFunction | If the instruction specified by |
getNumberOfArguments | |
getQualifier | Gets the |
hasArguments | Holds if the call has any arguments, not counting the |
mayThrowException | Holds if the evaluation of this call may throw an exception. |
mustThrowException | Holds if the evaluation of this call always throws an exception. |
producesExprResult | Holds if this |
toString |
Inherited predicates
getAChild | Get the immediate child elements of this element. | from TranslatedElement |
getALastInstruction | Gets an instruction within this | from TranslatedElement |
getALastInstructionInternal | Gets an instruction within this | from TranslatedCall |
getAST | DEPRECATED: Alias for getAst | from TranslatedElement |
getAst | Gets the AST node being translated. | from TranslatedExpr |
getCallTarget | Gets the | from TranslatedCall |
getCallTargetResult | Gets the instruction whose result value is the target of the call. By default, this is just the result of | from TranslatedDirectCall |
getChild | Gets the immediate child element of this element. The | from TranslatedExpr |
getChildInternal | Gets the immediate child element of this element. The | from TranslatedCall |
getChildSuccessor | Gets the successor instruction to which control should flow after the child element specified by | from TranslatedElement |
getChildSuccessorInternal | Gets the successor instruction to which control should flow after the child element specified by | from TranslatedCall |
getEnclosingFunction | Gets the | from TranslatedExpr |
getExceptionSuccessorInstruction | Gets the instruction to which control should flow if an exception is thrown within this element. This will generally return first | from TranslatedElement |
getExpr | Gets the expression from which this | from TranslatedExpr |
getFirstArgumentOrCallInstruction | If there are any arguments, gets the first instruction of the first argument. Otherwise, returns the call instruction. | from TranslatedCall |
getFirstCallTargetInstruction | Gets the first instruction of the sequence to evaluate the call target. By default, this is just the first instruction of | from TranslatedDirectCall |
getFirstDestructorCallIndex | Gets the child index of the first destructor call that should be executed after this | from TranslatedElement |
getFirstInstruction | Get the first instruction to be executed in the evaluation of this element when the edge kind is | from TranslatedCall |
getFunction | Gets the | from TranslatedExpr |
getId | Gets the an identifier string for the element. This id is unique within the scope of the element’s function. | from TranslatedElement |
getInstruction | Gets the instruction generated by this element with tag | from TranslatedElement |
getInstructionBuiltInOperation | If the instruction specified by | from TranslatedElement |
getInstructionConstantValue | If the instruction specified by | from TranslatedElement |
getInstructionElementSize | If the instruction specified by | from TranslatedElement |
getInstructionExceptionType | If the instruction specified by | from TranslatedElement |
getInstructionField | If the instruction specified by | from TranslatedElement |
getInstructionIndex | If the instruction specified by | from TranslatedElement |
getInstructionInheritance | If the instruction specified by | from TranslatedElement |
getInstructionMemoryOperandType | Gets the type of the memory operand specified by | from TranslatedElement |
getInstructionOperandSize | Gets the size of the memory operand specified by | from TranslatedElement |
getInstructionRegisterOperand | Gets the instruction whose result is consumed as an operand of the instruction specified by | from TranslatedCall |
getInstructionStringLiteral | If the instruction specified by | from TranslatedElement |
getInstructionSuccessor | Gets the successor instruction of the instruction that was generated by this element for tag | from TranslatedElement |
getInstructionSuccessorInternal | Gets the successor instruction of the instruction that was generated by this element for tag | from TranslatedDirectCall |
getInstructionVariable | If the instruction specified by | from TranslatedElement |
getLastChild | from TranslatedCall | |
getLocation | Gets the location of this element. | from TranslatedElement |
getParent | Gets the parent element of this element. | from TranslatedElement |
getPrimaryInstructionForSideEffect | Gets the primary instruction for the side effect instruction that was generated by this element for tag | from TranslatedElement |
getQualifierResult | Gets the instruction whose result value is the | from TranslatedCall |
getResult | Gets the instruction that produces the result of the expression. | from TranslatedCall |
getResultType | from TranslatedExpr | |
getSideEffects | from TranslatedCall | |
getTempVariable | Gets the temporary variable generated by this element with tag | from TranslatedElement |
handlesDestructorsExplicitly | Holds if this | from TranslatedElement |
hasAnImplicitDestructorCall | Holds if this element has implicit destructor calls that should follow it. | from TranslatedElement |
hasInstruction | Holds if this element generates an instruction with opcode | from TranslatedDirectCall |
hasQualifier | Holds if the call has a | from TranslatedCall |
hasTempVariable | Holds if this element generates a temporary variable with type | from TranslatedElement |
isNoReturn | from TranslatedCall | |
isResultGLValue | Holds if the result of this | from TranslatedExpr |
needsUnknownOpaqueType | Holds if the generated IR refers to an opaque type with size | from TranslatedElement |