DECAF
DECAF copied to clipboard
Optional Flags in cmds.h
Hello,
I am working on a plugin that uses DECAF and was wondering whether there are flag options for the plugin_cmd.h. From what I have seen in DECAFs cmd file it does not appear so but I was hoping that there might be. Please let me know if this is possible.
Also if you can link any information on how to build a plugin for DECAF that would help immensely.
Respectfully, Dakota Fulp
I don't quite understand what you mean by flag options. If there are flag options for built-in qemu commands, you should be able to add flag options for the plugin commands too.
To build a plugin, you simply go to the plugin folder, and run:
./configure --decaf-path=/path/to/decaf/
So what I mean is when running a specific command is there a way to specific flags. An example would be as follows:
Inside QEMU monitor: function_name -a item1 -b item2
By this I mean that both -a and -b are optional and can be left off of the function call. Right now all I see is hard coded parameters and wanted to know if it was possible to include optional parameters in the plugin commands.
Also this is a plugin I am building from scratch and was hoping there was some kind of documentation on how to create a brand new plugin for DECAF.