Package soot.jimple.internal
Class JCheckedMulExpr
- java.lang.Object
-
- soot.jimple.internal.AbstractBinopExpr
-
- soot.jimple.internal.AbstractFloatBinopExpr
-
- soot.jimple.internal.AbstractJimpleFloatBinopExpr
-
- soot.jimple.internal.JMulExpr
-
- soot.jimple.internal.JCheckedMulExpr
-
- All Implemented Interfaces:
Serializable,EquivTo,BinopExpr,ConvertToBaf,Expr,ICheckedExpr,MulExpr,Switchable,Value
public class JCheckedMulExpr extends JMulExpr implements ICheckedExpr
This multiply expression checks for an overflow and throws an exception in case the multiplication cannot be performed without an overflow. In .NET CIL code, this corresponds to a Mul_Ovf instruction. {@link https://learn.microsoft.com/de-de/dotnet/api/system.reflection.emit.opcodes.mul_ovf} Note that since this class inherits fromJMulExpr, most analysis (e.g. data flow) can treat this like a normal multiply expression without further changes.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class soot.jimple.internal.AbstractBinopExpr
AbstractBinopExpr.BinopExprEnum
-
-
Field Summary
-
Fields inherited from class soot.jimple.internal.AbstractBinopExpr
op1Box, op2Box
-
-
Constructor Summary
Constructors Constructor Description JCheckedMulExpr(Value op1, Value op2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Called when this object is visited.Objectclone()Returns a clone of this Value.-
Methods inherited from class soot.jimple.internal.JMulExpr
getSymbol, makeBafInst
-
Methods inherited from class soot.jimple.internal.AbstractJimpleFloatBinopExpr
convertToBaf
-
Methods inherited from class soot.jimple.internal.AbstractFloatBinopExpr
getType
-
Methods inherited from class soot.jimple.internal.AbstractBinopExpr
equivHashCode, equivTo, getOp1, getOp1Box, getOp2, getOp2Box, getType, getUseBoxes, isSuperclassSystemEnum, setOp1, setOp2, toString, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface soot.jimple.BinopExpr
getOp1, getOp1Box, getOp2, getOp2Box, setOp1, setOp2, toString
-
Methods inherited from interface soot.EquivTo
equivHashCode, equivTo
-
Methods inherited from interface soot.Value
getType, getUseBoxes, toString
-
-
-
-
Method Detail
-
apply
public void apply(Switch sw)
Description copied from interface:SwitchableCalled when this object is visited.- Specified by:
applyin interfaceSwitchable- Overrides:
applyin classJMulExpr
-
-