X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2FInformationManager.hxx;h=610ece50da253f51820e9af3679ed934008808cb;hp=555070abefd624cf6e19a5b84218a58ab3b73097;hb=9b99fc5856d5fe88bb1d2aad4d2ee7cd86b5be57;hpb=3d7b4d3a5f6c17823bb79490256661ddb5e7ab83 diff --git a/src/core/InformationManager.hxx b/src/core/InformationManager.hxx index 555070a..610ece5 100644 --- a/src/core/InformationManager.hxx +++ b/src/core/InformationManager.hxx @@ -6,9 +6,12 @@ #include #include #include +#include #include "disassembler/Disassembler.hxx" +class Interpreter; + class Function; class BasicBlock; class Comment; @@ -17,6 +20,7 @@ class RenameFunctionEvent; class QString; class QTemporaryFile; +class QPluginLoader; class InformationManager { public: @@ -65,6 +69,12 @@ public: std::map::const_iterator endBasicBlocks(); + 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*() @@ -101,10 +111,12 @@ private: boost::signals2::signal new_dyn_symbol_signal; boost::signals2::signal rename_function_signal; std::unique_ptr disassembler; + std::map interpreters; std::map functions; std::map blocks; std::string filename; std::unique_ptr tmpfile; + std::vector plugins; log4cxx::LoggerPtr logger; };