]> git.siccegge.de Git - frida/frida.git/blob - src/disassembler/Disassembler.hxx
Make signals from geiser work
[frida/frida.git] / src / disassembler / Disassembler.hxx
1 #ifndef INCLUDE__Disassembler_hxx
2 #define INCLUDE__Disassembler_hxx
3
4 #include <string>
5 #include <functional>
6 #include <vector>
7
8 #include "Instruction.hxx"
9
10 class Function;
11 class BasicBlock;
12 class InformationManager;
13
14 class Disassembler {
15 public:
16 Disassembler() {}
17 virtual ~Disassembler() {}
18
19 virtual void start() = 0;
20 virtual void getSymbols() = 0;
21 virtual uint64_t entryAddress() = 0;
22
23 virtual Function * disassembleFunctionAt(uint64_t address, const std::string& name = "") = 0;
24 virtual std::vector<Instruction> getInstructions(const BasicBlock* block) = 0;
25 };
26
27 #endif