Interface IDMethodExecutionHelper


public interface IDMethodExecutionHelper
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.
  • Method Details

    • getMethodSignature

      String getMethodSignature()
      Method signature (jvm).
      Returns:
    • simulateExecution

      IDImm simulateExecution(IDState state, List<IDImm> args) throws DexDecEvaluationException
      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)