hexxed icon indicating copy to clipboard operation
hexxed copied to clipboard

Plugins

Open meme opened this issue 3 years ago • 0 comments

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:

  1. Actions: when the user opens the actions menu the plugin will be listed there and the user selects it
  2. File parser: has a callback which takes a buffer_t and fills in the generic header struct
  3. 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

meme avatar Dec 23 '20 03:12 meme