X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2FInformationManager.hxx;h=3407113e3324bd14c573a844780ed66926f01557;hp=bb37a1e9a69ee9965b82a031b4e8d7bb9853d3f8;hb=c81c0d3dba088b302187d7862a62ca88d2306e24;hpb=546b89382dd61b664c216ad7668ec783f0ad094c diff --git a/src/core/InformationManager.hxx b/src/core/InformationManager.hxx index bb37a1e..3407113 100644 --- a/src/core/InformationManager.hxx +++ b/src/core/InformationManager.hxx @@ -72,12 +72,19 @@ public: std::map::const_iterator beginBasicBlocks(); std::map::const_iterator endBasicBlocks(); + std::pair< + std::multimap::const_iterator, + std::multimap::const_iterator> + getComments(uint64_t address); + bool hasComments() const {return ! comments.empty();} + std::multimap::const_iterator beginComments(); + std::multimap::const_iterator endComments(); + Interpreter* getInterpreter(const std::string& name); bool hasInterpreters() const {return interpreters.size() != 0;} std::map::const_iterator beginInterpreters(); std::map::const_iterator endInterpreters(); - /* Protocoll: * * Users may allocate new Data containers with the new*() @@ -104,7 +111,7 @@ public: Comment* newLocalComment(uint64_t address, Function* f); void finishFunction(Function* f); void finishBasicBlock(BasicBlock* b); - void finnishComment(Comment* c); + void finishComment(Comment* c); void deleteFunction(Function* f); void deleteBasicBlock(BasicBlock* b); void deleteComment(Comment* c);