diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-29 01:33:39 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-29 01:34:04 +0300 |
commit | bc78e3308f8bf74a8935f9ef8fd28825d6b48c2f (patch) | |
tree | e496012c405316287ef67ebcfecf5f40d4a9a656 /utils/addr2name.cpp | |
parent | rename class Repo to PostMortem (diff) | |
download | winapi-debug-bc78e3308f8bf74a8935f9ef8fd28825d6b48c2f.tar.gz winapi-debug-bc78e3308f8bf74a8935f9ef8fd28825d6b48c2f.zip |
move _address functions to winapi::address
Diffstat (limited to '')
-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'; } } |