The IR translation of an argument side effect for *this
on a call, where there is no Expr
object that represents the this
argument.
The applies only to constructor calls, as the AST has exploit qualifier Expr
s for all other
calls to non-static member functions.
Import path
import semmle.code.cpp.ir.implementation.raw.internal.TranslatedCall
Direct supertypes
Indirect supertypes
Inherited fields
Predicates
getAST | DEPRECATED: Alias for getAst |
getArgInstruction | Gets the |
getArgString | Gets a text representation of the argument. |
getAst | Gets the AST node being translated. |
getIndirectionType | Gets the type pointed to by the argument. |
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 TranslatedSideEffect |
getChild | Gets the immediate child element of this element. The | from TranslatedSideEffect |
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 TranslatedSideEffect |
getExceptionSuccessorInstruction | Gets the instruction to which control should flow if an exception is thrown within this element. This will generally return first | from TranslatedElement |
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 TranslatedSideEffect |
getFunction | Gets the | from TranslatedSideEffect |
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 |
getInstructionFunction | If the instruction specified by | from TranslatedElement |
getInstructionIndex | If the instruction specified by | from TranslatedArgumentSideEffect |
getInstructionInheritance | If the instruction specified by | from TranslatedElement |
getInstructionMemoryOperandType | Gets the type of the memory operand specified by | from TranslatedArgumentSideEffect |
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 TranslatedArgumentSideEffect |
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 TranslatedSideEffect |
getInstructionVariable | If the instruction specified by | from TranslatedElement |
getLastChild | from TranslatedElement | |
getLocation | Gets the location of this element. | from TranslatedElement |
getParent | Gets the parent element of this element. | from TranslatedElement |
getPrimaryExpr | Gets the expression that caused this side effect. | from TranslatedArgumentSideEffect |
getPrimaryInstructionForSideEffect | Gets the primary instruction for the side effect instruction that was generated by this element for tag | from TranslatedSideEffect |
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 TranslatedSideEffect |
hasTempVariable | Holds if this element generates a temporary variable with type | from TranslatedElement |
isWrite | Holds if this side effect is a write side effect, rather than a read side effect. | from TranslatedArgumentSideEffect |
needsUnknownOpaqueType | Holds if the generated IR refers to an opaque type with size | from TranslatedElement |
sideEffectInstruction | Gets the opcode and result type for the side effect instruction. | from TranslatedArgumentSideEffect |
sortOrder | Gets the order in which this side effect should be sorted with respect to other side effects for the same expression. | from TranslatedArgumentSideEffect |
toString | from TranslatedArgumentSideEffect |