public interface

IEStackManager

com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.IEStackManager

Summary

Public Methods
abstract boolean canCreateVariable(long offset, int bitsize)
abstract IEVar createPureStackItem(long offset, int bitsize)
Create a pure EVar, regardless of a referenced native stack.
abstract IEVar createStackItem(long offset, int bitsize)
Create a new stack variable.
abstract Long getHighestVariableOffset()
abstract Long getHighestVariableOffsetEnd()
abstract Long getLowestVariableOffset()
abstract int getNormalSlotBitsize()
abstract int getNormalSlotSize()
abstract IERoutineContext getRoutineContext()
abstract IEVar getVariable(long offset)
abstract IEVar getVariableAtSlot(int index)
abstract Collection<IEVar> getVariables()
abstract boolean hasVariables()

Public Methods

public abstract boolean canCreateVariable (long offset, int bitsize)

public abstract IEVar createPureStackItem (long offset, int bitsize)

Create a pure EVar, regardless of a referenced native stack.

public abstract IEVar createStackItem (long offset, int bitsize)

Create a new stack variable. May return null, may be at different offset and/or with a different size. The EVar created may be larger than the actual hit size!! eg, native item is int64, on a 32-bit slot stack. A corresponding native stack item will be created. This method may fail if existing native items conflict with the requested creation.

Parameters
offset relative stack offset in bytes
bitsize requested variable size in bits - must be a multiple of 2
Returns
  • the EVar, null on error

public abstract Long getHighestVariableOffset ()

public abstract Long getHighestVariableOffsetEnd ()

public abstract Long getLowestVariableOffset ()

public abstract int getNormalSlotBitsize ()

public abstract int getNormalSlotSize ()

public abstract IERoutineContext getRoutineContext ()

public abstract IEVar getVariable (long offset)

public abstract IEVar getVariableAtSlot (int index)

public abstract Collection<IEVar> getVariables ()

public abstract boolean hasVariables ()