public interface

IDEmuContext

com.pnfsoftware.jeb.core.units.code.android.ir.IDEmuContext

Class Overview

An emulator context, used by dexdec State objects. Code emulation takes place within a context object. Context objects hold the execution stack frame.

See Also

Summary

Public Methods
abstract IDEmuContext copy()
Perform a deep copy of this context, including the frames.
abstract int getCountOfFrames()
Get the count of frames.
abstract IDEmuFrame getFrame(int index)
Retrieve a frame by index.
abstract Collection<IDEmuFrame> getFrames()
Retrieve the read-only list of frames.
abstract String getName()
Retrieve this context name.
abstract Collection<String> getOrigins()
Retrieve the collection of origins for this context.
abstract boolean hasFrames()
Determine whether this contet holds any frame.
abstract void pushOriginInfo(String callerMsig)
Push additional origin information for this context.

Public Methods

public abstract IDEmuContext copy ()

Perform a deep copy of this context, including the frames.

public abstract int getCountOfFrames ()

Get the count of frames.

public abstract IDEmuFrame getFrame (int index)

Retrieve a frame by index. 0 is the top-level frame (i.e., the last-pushed frame, or current frame)

Parameters
index frame index (0 being the top-level frame, or current frame)
Returns
  • a frame

public abstract Collection<IDEmuFrame> getFrames ()

Retrieve the read-only list of frames.

public abstract String getName ()

Retrieve this context name.

public abstract Collection<String> getOrigins ()

Retrieve the collection of origins for this context.

public abstract boolean hasFrames ()

Determine whether this contet holds any frame.

public abstract void pushOriginInfo (String callerMsig)

Push additional origin information for this context. Origin information is used to by the emulator to build stacktraces. They are virtual pseudo-frames above the actual frames for this context.