]> git.siccegge.de Git - frida/frida.git/blob - src/core/Comment.hxx
Reoganize Function/BasicBlock creation
[frida/frida.git] / src / core / Comment.hxx
1 #ifndef INCLUDE__Comment_hxx
2 #define INCLUDE__Comment_hxx
3
4 #include <string>
5
6 class Function;
7
8 class Comment {
9 public:
10 bool isLocal() const {return location == NULL;}
11
12 private:
13 Comment(uint64_t address);
14 Comment(uint64_t address, Function* location);
15
16 uint64_t address;
17 Function* location;
18 std::string text;
19 };
20
21 #endif /* INCLUDE__Comment_hxx */