diff options
Diffstat (limited to 'utils/addr2name.cpp')
-rw-r--r-- | utils/addr2name.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/addr2name.cpp b/utils/addr2name.cpp index 5a8cbc3..333ef29 100644 --- a/utils/addr2name.cpp +++ b/utils/addr2name.cpp @@ -48,7 +48,7 @@ std::string format_symbol(const winapi::Module& module, const winapi::Symbol& sy oss << module.get_name() << '!' << symbol.get_name(); const auto displacement = symbol.get_displacement(); if (displacement) - oss << '+' << winapi::format_address(displacement); + oss << '+' << winapi::address::format(displacement); return oss.str(); } @@ -84,7 +84,7 @@ void resolve_symbol(const winapi::PostMortem& analysis, std::cout << msg.str() << '\n'; } catch (const std::exception& e) { dump_error(e); - std::cout << winapi::format_address(address) << '\n'; + std::cout << winapi::address::format(address) << '\n'; } } |