com.pnfsoftware.jeb.core.units.code.android.ir.IDEmuContext |
An emulator context, used by dexdec
State objects. Code emulation takes place within a
context object. Context objects hold the execution stack frame.
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.
|
Get the count of frames.
Retrieve a frame by index. 0 is the top-level frame (i.e., the last-pushed frame, or current frame)
index | frame index (0 being the top-level frame, or current frame) |
---|
Retrieve this context name.
Retrieve the collection of origins for this context.
Determine whether this contet holds any frame.
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.