public interface

IDMethodExecutionHelper

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

Class Overview

Method execution helper interface, to be registered with a dexdec IR state. The helpers have priority over sandbox execution hooks. It is recommended to use sandbox hooks instead of execution helpers.

Summary

Public Methods
abstract String getMethodSignature()
Method signature (jvm).
abstract IDImm simulateExecution(IDState state, List<IDImm> args)
When this method is called, the State's top frame has a PC set at the target method entry-point.

Public Methods

public abstract String getMethodSignature ()

Method signature (jvm).

public abstract IDImm simulateExecution (IDState state, List<IDImm> args)

When this method is called, the State's top frame has a PC set at the target method entry-point. It is ready to be executed with the provided arguments.

Parameters
state current state
args input arguments
Returns
  • the execution return value (on success); if the help was unable to provide a result, null is returned, indicating that the simulation did not take place
Throws
DexDecEvaluationException an evaluation exception (on error)