Recursive disassembler
[frida/frida.git] / src / disassembler / Function.hxx
1 #ifndef INCLUDE__Function_hxx
2 #define INCLUDE__Function_hxx
3
4 #include "disassembler/BasicBlock.hxx"
5
6 class Function {
7 public:
8 Function(const std::string& name) {
9 this->name = name;
10 }
11
12 std::string getName() const {
13 return name;
14 }
15
16 BasicBlock * getEntry();
17
18 private:
19 std::string name;
20 BasicBlock * start;
21 };
22
23 #endif