]> git.siccegge.de Git - frida/frida.git/blob - src/disassembler/Function.hxx
Explicitely use llvm-config-3.5 as older versions won't work anyway
[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