X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2FInformationManager.hxx;h=555070abefd624cf6e19a5b84218a58ab3b73097;hp=86e4d8cd80039fbe0b4c3fc43205a4b5d41585f0;hb=3d7b4d3a5f6c17823bb79490256661ddb5e7ab83;hpb=e2e45989c79c060cf30b1b4c1a2c1e7d26022d23 diff --git a/src/core/InformationManager.hxx b/src/core/InformationManager.hxx index 86e4d8c..555070a 100644 --- a/src/core/InformationManager.hxx +++ b/src/core/InformationManager.hxx @@ -13,11 +13,11 @@ class Function; class BasicBlock; class Comment; +class RenameFunctionEvent; + class QString; class QTemporaryFile; -class RenameFunctionEvent; - class InformationManager { public: InformationManager(); @@ -53,9 +53,17 @@ public: void dispatch(RenameFunctionEvent* event) { rename_function_signal(event); } + Function* getFunction(uint64_t address); - BasicBlock* getBasicBlock(uint64_t address); bool hasFunctions() const {return functions.size() != 0;} + std::map::const_iterator beginFunctions(); + std::map::const_iterator endFunctions(); + + BasicBlock* getBasicBlock(uint64_t address); + bool hasBasicBlocks() const {return blocks.size() != 0;} + std::map::const_iterator beginBasicBlocks(); + std::map::const_iterator endBasicBlocks(); + /* Protocoll: *