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 Summary
Modifier and TypeMethodDescriptionMethod signature (jvm).simulateExecution
(IDState state, List<IDImm> args) When this method is called, the State's top frame has a PC set at thetarget method
entry-point.
-
Method Details
-
getMethodSignature
String getMethodSignature()Method signature (jvm).- Returns:
-
simulateExecution
When this method is called, the State's top frame has a PC set at thetarget method
entry-point. It is ready to be executed with the provided arguments.- Parameters:
state
- current stateargs
- 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)
-