Class AndroidEmulationHooksSkeleton
java.lang.Object
com.pnfsoftware.jeb.core.AbstractPlugin
com.pnfsoftware.jeb.core.units.code.android.AndroidEmulationHooksSkeleton
- All Implemented Interfaces:
IPlugin,IAndroidEmulationHooks,IDEmulatorHooks,IDSandboxHooks,IEEmulatorHooks,IEStateHooks,IPriorityBasedHooks
public class AndroidEmulationHooksSkeleton
extends AbstractPlugin
implements IAndroidEmulationHooks, IDEmulatorHooks, IDSandboxHooks, IEEmulatorHooks, IEStateHooks
//?type=android-emu-hooks // ...
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ILoggerPublic logger accessible by the implementor.Fields inherited from interface com.pnfsoftware.jeb.core.units.code.android.IAndroidEmulationHooks
USAGE_ALL, USAGE_NONE, USAGE_UNPACKER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe default implementation returns this object.The default implementation returns this object.The default implementation returns this object.The default implementation returns this object.Retrieve basic information about the plugin, such as name, version, author, and organization.intgetUsage()The default implementation returns -1, which means that the plugin may be used by all clients of the Android code emulator (such as the generic unpacker, IR optimizers, etc.)Methods inherited from class com.pnfsoftware.jeb.core.AbstractPlugin
dispose, getData, setDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pnfsoftware.jeb.core.units.code.android.ir.IDEmulatorHooks
examineFieldValue, examineMethodResult, getField, invokeMethod, setFieldMethods inherited from interface com.pnfsoftware.jeb.core.units.code.android.ir.IDSandboxHooks
examineCreatedInstance, examineFieldValue, examineMethodResult, getField, invokeMethod, loadClass, newInstance, setFieldMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.emulator.IEEmulatorHooks
evaluateAt, evaluateExternal, evaluateSyscall, evaluateUntranslated, monitorHLSpecial, postEvaluateAt, postEvaluateExternal, postEvaluateSyscall, postEvaluateUntranslatedMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.IEStateHooks
onAllocMemory, onAllocMemoryPost, onFreeMemory, onReadMemory, onReadMemoryPost, onWriteMemoryMethods inherited from interface com.pnfsoftware.jeb.core.units.IPriorityBasedHooks
getPriority
-
Field Details
-
logger
Public logger accessible by the implementor. Writing to the logger should be favored over writing directly tostdout.
-
-
Constructor Details
-
AndroidEmulationHooksSkeleton
public AndroidEmulationHooksSkeleton()Create a hooks plugin skeleton.
-
-
Method Details
-
getPluginInformation
Description copied from interface:IPluginRetrieve basic information about the plugin, such as name, version, author, and organization.- Specified by:
getPluginInformationin interfaceIPlugin- Returns:
- the plugin information
-
getUsage
public int getUsage()The default implementation returns -1, which means that the plugin may be used by all clients of the Android code emulator (such as the generic unpacker, IR optimizers, etc.)- Specified by:
getUsagein interfaceIAndroidEmulationHooks- Returns:
- flags specifying where the hooks may be used; see
USAGE_xxx
-
getDexInternalHooks
The default implementation returns this object. Dex internal hooking methods may be overridden as necessary.- Specified by:
getDexInternalHooksin interfaceIAndroidEmulationHooks- Returns:
- optional, may be null
-
getDexExternalHooks
The default implementation returns this object. Dex external hooking methods may be overridden as necessary.- Specified by:
getDexExternalHooksin interfaceIAndroidEmulationHooks- Returns:
- optional, may be null
-
getNativeCodeHooks
The default implementation returns this object. Native code hooking methods may be overridden as necessary.- Specified by:
getNativeCodeHooksin interfaceIAndroidEmulationHooks- Returns:
- optional, may be null
-
getNativeMemoryHooks
The default implementation returns this object. Native memory hooking methods may be overridden as necessary.- Specified by:
getNativeMemoryHooksin interfaceIAndroidEmulationHooks- Returns:
- optional, may be null
-