diff options
Diffstat (limited to '')
-rw-r--r-- | include/pdb/dbghelp.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/pdb/dbghelp.hpp b/include/pdb/dbghelp.hpp index 4f11e22..edb095c 100644 --- a/include/pdb/dbghelp.hpp +++ b/include/pdb/dbghelp.hpp @@ -25,8 +25,12 @@ public: ModuleInfo load_pdb(const std::string& path) const; + typedef std::function<void(const ModuleInfo&)> OnModule; + void enum_modules(const OnModule&) const; + typedef std::function<void(const SymbolInfo&)> OnSymbol; void enum_symbols(const ModuleInfo&, const OnSymbol&) const; + void enum_symbols(const OnSymbol&) const; SymbolInfo resolve_symbol(Address) const; SymbolInfo resolve_symbol(const std::string&) const; @@ -34,8 +38,6 @@ public: LineInfo resolve_line(Address) const; private: - ModuleInfo get_module_info(Address offline_base) const; - const HANDLE id = GetCurrentProcess(); bool closed = false; |