Difference between revisions of "Help File:6 ptDisassemblerContext"
Jump to navigation
Jump to search
(Created page with "==ptDisassemblerContext== With this PluginType you create a new entry in the context menu of the disassembler. When the user opens the pop up menu, or clicks the menu item, t...") |
(No difference)
|
Latest revision as of 10:30, 30 July 2021
ptDisassemblerContext[edit]
With this PluginType you create a new entry in the context menu of the disassembler. When the user opens the pop up menu, or clicks the menu item, the apropriate callback routine will be called.
Callback Definition
typedef BOOL ( __stdcall *CEP_PLUGINTYPE6ONPOPUP)(ULONG selectedAddress, char **addressofname); typedef BOOL ( __stdcall *CEP_PLUGINTYPE6)(ULONG *selectedAddress);
Returns nothing.
Pointer to structure of init you have to pass
typedef struct _PLUGINTYPE6_INIT { char * name; //0-terminated string describing the name for the user's menu item CEP_PLUGINTYPE6ONPOPUP callbackroutineOnPopup; CEP_PLUGINTYPE6 callbackroutine; char * shortcut; //0-terminated string containing the shortcut in text form. CE will try its best to parse it to a valid shortcut. } PLUGINTYPE6_INIT, DISASSEMBLERCONTEXT_INIT, *PPLUGINTYPE6_INIT, *PDISASSEMBLERCONTEXT_INIT;
- Plugin system
- GetVersion
- DisablePlugin
- InitializePlugin
- PluginVersion
- ExportedFunctions
- sizeofExportedFunctions
- ShowMessage
- RegisterFunction
- UnregisterFunction
- OpenedProcessID
- OpenedProcessHandle
- GetMainWindowHandle
- AutoAssemble
- Assembler
- Disassembler
- ChangeRegistersAtAddress
- InjectDLL
- FreezeMem
- UnfreezeMem
- FixMem
- ProcessList
- ReloadSettings
- GetAddressFromPointer
- sym_nameToAddress
- sym_addressToName
- sym_generateAPIHookScript
- loadDBK32
- loaddbvmifneeded
- previousOpcode
- nextOpcode
- disassembleEx
- loadModule
- aa_AddExtraCommand
- aa_RemoveExtraCommand