public interface

IExternalRoutineExecutionHelper

com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.emulator.IExternalRoutineExecutionHelper
Known Indirect Subclasses

Class Overview

Emulator extension interface for external routines. For an example, see HelperStrlen.

Users that wish to add execution helpers auto-discoverable by JEB clients must implement them as plugins:
- create a class that extends AbstractPlugin and implements this interface
- drop the compiled *.class file or Jar file in your JEB coreplugins/ folder

Summary

Public Methods
abstract boolean execute(IREmulator emu, INativeMethodItem routine)
Emulate the execution of the provided external routine, using the provided emulator and its current state.
abstract String getName()
Provide the external routine name.

Public Methods

public abstract boolean execute (IREmulator emu, INativeMethodItem routine)

Emulate the execution of the provided external routine, using the provided emulator and its current state.

Parameters
emu the current emulator
routine the external routine to be executed
Returns
  • if true, the emulation is considered successful; if false, another suitable helper will be looked for and executed; if a problem occurred, an EvaluationException should be raised

public abstract String getName ()

Provide the external routine name.

Returns
  • the external routine name (should be non-null, non-changing)