From b8d84cbf8ee08e5150fe4ca08369daab277579bc Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 20 May 2017 03:05:51 +0300 Subject: hardening & refactoring --- include/pdb/repo.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/pdb/repo.hpp b/include/pdb/repo.hpp index aa5c3c3..fa64260 100644 --- a/include/pdb/repo.hpp +++ b/include/pdb/repo.hpp @@ -35,7 +35,7 @@ namespace pdb private: Symbol symbol_from_buffer(const SymbolInfo&) const; - Symbol symbol_from_buffer(const Module&, const SymbolInfo&) const; + static Symbol symbol_from_buffer(const Module&, const SymbolInfo&); const Module& module_from_online_address(Address) const; const Module& module_from_offline_address(Address) const; @@ -45,9 +45,8 @@ namespace pdb const DbgHelp dbghelp; - std::map online_modules; - std::map offline_modules; - - std::unordered_set module_ids; + std::unordered_set file_ids; + std::map online_bases; + std::map offline_bases; }; } -- cgit v1.2.3