aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/pdb/dbghelp.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/pdb/dbghelp.hpp')
-rw-r--r--include/pdb/dbghelp.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/pdb/dbghelp.hpp b/include/pdb/dbghelp.hpp
index 2809eac..db9638e 100644
--- a/include/pdb/dbghelp.hpp
+++ b/include/pdb/dbghelp.hpp
@@ -18,7 +18,7 @@ namespace pdb {
class DbgHelp {
public:
- DbgHelp();
+ DbgHelp(bool invade_current_process = false);
~DbgHelp();
void close();
@@ -28,6 +28,8 @@ public:
typedef std::function<void(const ModuleInfo&)> OnModule;
void enum_modules(const OnModule&) const;
+ ModuleInfo resolve_module(Address) const;
+
typedef std::function<void(const SymbolInfo&)> OnSymbol;
static constexpr auto all_symbols = "*!*";
void enum_symbols(const ModuleInfo&, const std::string& mask, const OnSymbol&) const;