From: Christoph Egger Date: Mon, 12 Oct 2015 06:52:26 +0000 (+0200) Subject: add InformationManager::getEntryAddress X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=commitdiff_plain;h=45f6c89c061ae3e819cd136807c04f997696194e add InformationManager::getEntryAddress wrapps the orresponding Disassembler interface and thereby consistently allows accessing all information via the InformationManager class. The sole Interface-responsibility of the Disassembler is now to start work --- diff --git a/src/core/InformationManager.hxx b/src/core/InformationManager.hxx index 7d38007..ddba5a3 100644 --- a/src/core/InformationManager.hxx +++ b/src/core/InformationManager.hxx @@ -60,6 +60,8 @@ public: */ bool hasFunctions() const {return functions.size() != 0;} + uint64_t getEntryAddress() {return disassembler->entryAddress();} + Function* getFunction(uint64_t address); std::map::const_iterator beginFunctions(); std::map::const_iterator endFunctions();