diff options
Diffstat (limited to '')
-rw-r--r-- | src/module.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/module.cpp b/src/module.cpp index 6ee0c08..f4f3eb9 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -5,6 +5,8 @@ #include "pdb/all.hpp" +#include <boost/nowide/convert.hpp> + #include <SafeInt.hpp> #include <cstring> @@ -28,6 +30,10 @@ ModuleInfo::Impl ModuleInfo::create_impl() { return impl; } +std::string ModuleInfo::get_name() const { + return boost::nowide::narrow(impl.ModuleName); +} + Address Module::translate_offline_address(Address offline) const { if (offline < get_offline_base()) throw std::range_error{invalid_offline_address(offline)}; |