# Interface: 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.

## Method: copy
- return type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDEmuContext`

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

## Method: getCountOfFrames
- return type: `int`

Description: Get the count of frames.
return: 

## Method: getFrame
- parameter: `index`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDEmuFrame`

Description: Retrieve a frame by index. 0 is the top\-level frame \(i.e., the last\-pushed frame, or current frame\)
parameter: index: frame index \(0 being the top\-level frame, or current frame\)
return: a frame

## Method: getFrames
- return type: `java.util.Collection<com.pnfsoftware.jeb.core.units.code.android.ir.IDEmuFrame>`

Description: Retrieve the read\-only list of frames.
return: 

## Method: getName
- return type: `java.lang.String`

Description: Retrieve this context name.
return: 

## Method: getOrigins
- return type: `java.util.Collection<java.lang.String>`

Description: Retrieve the collection of origins for this context.
return: 

## Method: hasFrames
- return type: `boolean`

Description: Determine whether this contet holds any frame.
return: 

## Method: pushOriginInfo
- parameter: `callerMsig`, type: `java.lang.String`

Description: 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.
parameter: callerMsig: 

