hexxed
hexxed copied to clipboard
Plugins
Plans:
$HOME/.config/hexxed/plugins
contains .dylib
or .so
executables which contain plugin_init
. On Hexxed load, the entire folder will be enumerated and every plugin will be dlopen
'ed and if plugin_init
exists it will be called.
Plugins can choose to be:
- Actions: when the user opens the actions menu the plugin will be listed there and the user selects it
- File parser: has a callback which takes a
buffer_t
and fills in the generic header struct - Architecture: if the file has a supported file parser which specifies an architecture handled by this plugin, it can: a) Disassemble a slice of bytes b) Take an assembler string and base address and produce a slice of bytes c) In future: provide analysis information like jump destinations or data references