Package soot.dotnet.instructions
Class CilLdElemInstruction
- java.lang.Object
-
- soot.dotnet.instructions.AbstractCilnstruction
-
- soot.dotnet.instructions.CilLdElemInstruction
-
- All Implemented Interfaces:
CilInstruction
public class CilLdElemInstruction extends AbstractCilnstruction
Load element out of an array local In ILSpy/.NET instruction an element can be loaded by one instruction (e.g. elem[1,5]); unfolding it Loads the object itself, not a reference! https://learn.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.ldelem?view=net-8.0
-
-
Field Summary
-
Fields inherited from class soot.dotnet.instructions.AbstractCilnstruction
cilBlock, dotnetBody, instruction
-
-
Constructor Summary
Constructors Constructor Description CilLdElemInstruction(ProtoIlInstructions.IlInstructionMsg instruction, DotnetBody dotnetBody, CilBlock cilBlock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidjimplify(Body jb)Jimplify a starting statement of ILSpy ASTValuejimplifyExpr(Body jb)Jimplify an expression of ILSpy AST statement children-
Methods inherited from class soot.dotnet.instructions.AbstractCilnstruction
createTempVar, createTempVar, simplifyComplexExpression
-
-
-
-
Constructor Detail
-
CilLdElemInstruction
public CilLdElemInstruction(ProtoIlInstructions.IlInstructionMsg instruction, DotnetBody dotnetBody, CilBlock cilBlock)
-
-
Method Detail
-
jimplify
public void jimplify(Body jb)
Description copied from interface:CilInstructionJimplify a starting statement of ILSpy AST
-
jimplifyExpr
public Value jimplifyExpr(Body jb)
Description copied from interface:CilInstructionJimplify an expression of ILSpy AST statement children- Returns:
-
-