Interface IDEmuContext


public interface IDEmuContext
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:
  • Method Details

    • copy

      IDEmuContext copy()
      Perform a deep copy of this context, including the frames.
      Returns:
    • getName

      String getName()
      Retrieve this context name.
      Returns:
    • hasFrames

      boolean hasFrames()
      Determine whether this contet holds any frame.
      Returns:
    • getCountOfFrames

      int getCountOfFrames()
      Get the count of frames.
      Returns:
    • getFrames

      Collection<IDEmuFrame> getFrames()
      Retrieve the read-only list of frames.
      Returns:
    • getFrame

      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
    • getOrigins

      Collection<String> getOrigins()
      Retrieve the collection of origins for this context.
      Returns:
    • pushOriginInfo

      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.
      Parameters:
      callerMsig -