Class SPDC
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.SPDC
- All Implemented Interfaces:
Comparable<SPDC>
"Stack Pointer Delta Candidate". Immutable.
Candidate for a stack pointer delta (eg, SP-out, SP-highest). Placeholder for a triplet (offset, guarantee, origin).
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final SPDCAn unknown SP-delta candidate: offset is 0, guarantee and origin levels are 0. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
Unknown
An unknown SP-delta candidate: offset is 0, guarantee and origin levels are 0. -
GUARANTEE_UNKNOWN
public static final int GUARANTEE_UNKNOWN- See Also:
-
GUARANTEE_LOW
public static final int GUARANTEE_LOW- See Also:
-
GUARANTEE_MEDIUM
public static final int GUARANTEE_MEDIUM- See Also:
-
GUARANTEE_HIGH
public static final int GUARANTEE_HIGH- See Also:
-
ORIGIN_UNKNOWN
public static final int ORIGIN_UNKNOWN- See Also:
-
ORIGIN_SIMULATION
public static final int ORIGIN_SIMULATION- See Also:
-
ORIGIN_ANALYSIS
public static final int ORIGIN_ANALYSIS- See Also:
-
ORIGIN_NATIVE
public static final int ORIGIN_NATIVE- See Also:
-
ORIGIN_USER
public static final int ORIGIN_USER- See Also:
-
-
Constructor Details
-
SPDC
public SPDC(int value, int guarantee, int origin)
-
-
Method Details
-
getBest
note: if both candidates are "equally-best", the first one (a) is returned. -
getValue
public int getValue() -
getGuarantee
public int getGuarantee() -
getOrigin
public int getOrigin() -
clone
-
compareTo
- Specified by:
compareToin interfaceComparable<SPDC>
-
hashCode
public int hashCode() -
equals
-
toString
-