1 #ifndef INCLUDE__Disassembler_hxx
2 #define INCLUDE__Disassembler_hxx
8 #include "Instruction.hxx"
12 class InformationManager;
17 virtual ~Disassembler() {}
19 virtual void start() = 0;
20 virtual void getSymbols() = 0;
21 virtual uint64_t entryAddress() = 0;
23 virtual void printEachInstruction(uint64_t start, uint64_t end,
24 std::function<void (uint8_t*, size_t, const std::string&,
25 const std::string&)> fun) = 0;
26 virtual Function * disassembleFunctionAt(uint64_t address, const std::string& name = "") = 0;
27 virtual std::vector<Instruction> getInstructions(const BasicBlock* block) = 0;