]> git.siccegge.de Git - frida/frida.git/commitdiff
add InformationManager::getEntryAddress
authorChristoph Egger <christoph@christoph-egger.org>
Mon, 12 Oct 2015 06:52:26 +0000 (08:52 +0200)
committerChristoph Egger <christoph@christoph-egger.org>
Mon, 12 Oct 2015 06:52:26 +0000 (08:52 +0200)
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

src/core/InformationManager.hxx

index 7d380078d9db88f66f9ca3e588dbdaf9f55f8a27..ddba5a3f8e4080f49b4f8cedbd6a51cd47c9a1f5 100644 (file)
@@ -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<uint64_t, Function*>::const_iterator beginFunctions();
        std::map<uint64_t, Function*>::const_iterator endFunctions();