This PR removes the BeaEngine / Capstone specific field from the InstructionInformation structure and simplifies the DisassEngineWrapper interface as well (fixes #33).
It also fixes the Gadget::Comparator functor to operate on the dissassembly because since #41 they might not be there anymore.
Finally, it properly detects any kind of branches in a gadget - if --allow-branches is not specified, those will not appear as valid results.
This PR removes the
BeaEngine
/Capstone
specific field from theInstructionInformation
structure and simplifies theDisassEngineWrapper
interface as well (fixes #33).It also fixes the
Gadget::Comparator
functor to operate on the dissassembly because since #41 they might not be there anymore.Finally, it properly detects any kind of branches in a gadget - if
--allow-branches
is not specified, those will not appear as valid results.