public class

SPDC

extends Object
implements Comparable<T>
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.SPDC

Class Overview

"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

Summary

Constants
int GUARANTEE_HIGH
int GUARANTEE_LOW
int GUARANTEE_MEDIUM
int GUARANTEE_UNKNOWN
int ORIGIN_ANALYSIS
int ORIGIN_NATIVE
int ORIGIN_SIMULATION
int ORIGIN_UNKNOWN
int ORIGIN_USER
Fields
public static final SPDC Unknown An unknown SP-delta candidate: offset is 0, guarantee and origin levels are 0.
Public Constructors
SPDC(int value, int guarantee, int origin)
Public Methods
SPDC clone()
int compareTo(SPDC o)
boolean equals(Object obj)
static SPDC getBest(SPDC a, SPDC b)
note: if both candidates are "equally-best", the first one (a) is returned.
int getGuarantee()
int getOrigin()
int getValue()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Comparable

Constants

public static final int GUARANTEE_HIGH

Constant Value: 30 (0x0000001e)

public static final int GUARANTEE_LOW

Constant Value: 10 (0x0000000a)

public static final int GUARANTEE_MEDIUM

Constant Value: 20 (0x00000014)

public static final int GUARANTEE_UNKNOWN

Constant Value: 0 (0x00000000)

public static final int ORIGIN_ANALYSIS

Constant Value: 20 (0x00000014)

public static final int ORIGIN_NATIVE

Constant Value: 30 (0x0000001e)

public static final int ORIGIN_SIMULATION

Constant Value: 10 (0x0000000a)

public static final int ORIGIN_UNKNOWN

Constant Value: 0 (0x00000000)

public static final int ORIGIN_USER

Constant Value: 40 (0x00000028)

Fields

public static final SPDC Unknown

An unknown SP-delta candidate: offset is 0, guarantee and origin levels are 0.

Public Constructors

public SPDC (int value, int guarantee, int origin)

Public Methods

public SPDC clone ()

public int compareTo (SPDC o)

public boolean equals (Object obj)

public static SPDC getBest (SPDC a, SPDC b)

note: if both candidates are "equally-best", the first one (a) is returned.

public int getGuarantee ()

public int getOrigin ()

public int getValue ()

public int hashCode ()

public String toString ()