X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fdisassembler%2FInstruction.hxx;h=5a74e22afe1bcfaf9779e9311fd74b28b3dad639;hp=e79b24f38408ded9dfe060699914014a6810d3fb;hb=d1b23c7274d6430ccc70bf2baf616437db9f5706;hpb=1ef802ee9a14e6274b3e60db873965b794f49abe diff --git a/src/disassembler/Instruction.hxx b/src/disassembler/Instruction.hxx index e79b24f..5a74e22 100644 --- a/src/disassembler/Instruction.hxx +++ b/src/disassembler/Instruction.hxx @@ -5,6 +5,8 @@ #include #include +class Comment; + class Instruction { public: Instruction(uint64_t address, const std::string& text, const std::vector& bytes, const std::string& reference) @@ -13,11 +15,13 @@ public: const std::string& getText() const {return text;} const std::vector& getBytes() const {return bytes;} const std::string& getReference() const {return reference;} + std::vector& comments() {return _comments;} private: uint64_t address; std::string text; std::vector bytes; std::string reference; + std::vector _comments; }; #endif /* INCLUDE__Instruction_hxx_ */