X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2FComment.cxx;fp=src%2Fcore%2FComment.cxx;h=0cb804c84ab35dc3397ddbc836014fe2a3f90574;hp=0000000000000000000000000000000000000000;hb=5afba5f952385321480f53091363a5fba2e16f62;hpb=c6e89377cd981f9be1f18a6be334fbcfebb0c16e diff --git a/src/core/Comment.cxx b/src/core/Comment.cxx new file mode 100644 index 0000000..0cb804c --- /dev/null +++ b/src/core/Comment.cxx @@ -0,0 +1,20 @@ +#include "Comment.hxx" +#include "Function.hxx" + +Comment::Comment(uint64_t address, InformationManager* manager) + : address(address) + , location(NULL) + , manager(manager) {} + +Comment::Comment(uint64_t address, Function* location, InformationManager* manager) + : address(address) + , location(location) + , manager(manager) {} + +void Comment::setText(const std::string& text) { + this->text = text; +} + +uint64_t Comment::getAddress() { + return address; +}