From 45f6c89c061ae3e819cd136807c04f997696194e Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Mon, 12 Oct 2015 08:52:26 +0200 Subject: [PATCH] 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 --- src/core/InformationManager.hxx | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.39.5