X-Git-Url: https://git.siccegge.de//index.cgi?a=blobdiff_plain;f=src%2Fcore%2FFunction.hxx;h=aebfe8f8591e2b1174551f4a69b9bf9ae8ab0ecc;hb=73fbbe0b8d199d2ee85e2cfaf4304689f4d6e6eb;hp=f4fa90e1e429eeaf9928896b454906226ce3e223;hpb=9fe5caf6408d1b7d5eb86dacdb211bd22335398a;p=frida%2Ffrida.git diff --git a/src/core/Function.hxx b/src/core/Function.hxx index f4fa90e..aebfe8f 100644 --- a/src/core/Function.hxx +++ b/src/core/Function.hxx @@ -18,9 +18,10 @@ public: return start_address; } - std::string getName() const { - return name; - } + std::string getName() const + { return name; } + void setName(const std::string& new_name) + { name = new_name; } InformationManager* getManager() const { return manager; @@ -30,7 +31,7 @@ public: _blocks.insert(std::make_pair(block->getStartAddress(), block)); } - std::map& blocks() { + const std::map& blocks() { return _blocks; } private: