Package soot.jimple.internal
Class JCheckedSubExpr
- java.lang.Object
-
- soot.jimple.internal.AbstractBinopExpr
-
- soot.jimple.internal.AbstractFloatBinopExpr
-
- soot.jimple.internal.AbstractJimpleFloatBinopExpr
-
- soot.jimple.internal.JSubExpr
-
- soot.jimple.internal.JCheckedSubExpr
-
- All Implemented Interfaces:
Serializable,EquivTo,BinopExpr,ConvertToBaf,Expr,ICheckedExpr,SubExpr,Switchable,Value
public class JCheckedSubExpr extends JSubExpr implements ICheckedExpr
This subtract expression checks for an overflow and throws an exception in case the subtraction cannot be performed without an overflow. In .NET CIL code, this corresponds to a Sub_Ovf instruction. {@link https://learn.microsoft.com/de-de/dotnet/api/system.reflection.emit.opcodes.sub_ovf} Note that since this class inherits fromJSubExpr, most analysis (e.g. data flow) can treat this like a normal subtract 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 JCheckedSubExpr(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.JSubExpr
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 classJSubExpr
-
-