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