aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils/name2addr.cpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-05-29 01:33:39 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-05-29 01:34:04 +0300
commitbc78e3308f8bf74a8935f9ef8fd28825d6b48c2f (patch)
treee496012c405316287ef67ebcfecf5f40d4a9a656 /utils/name2addr.cpp
parentrename class Repo to PostMortem (diff)
downloadwinapi-debug-bc78e3308f8bf74a8935f9ef8fd28825d6b48c2f.tar.gz
winapi-debug-bc78e3308f8bf74a8935f9ef8fd28825d6b48c2f.zip
move _address functions to winapi::address
Diffstat (limited to 'utils/name2addr.cpp')
-rw-r--r--utils/name2addr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/name2addr.cpp b/utils/name2addr.cpp
index c113a9a..105b94e 100644
--- a/utils/name2addr.cpp
+++ b/utils/name2addr.cpp
@@ -45,7 +45,7 @@ void dump_error(const std::exception& e) {
void resolve_symbol(const winapi::PostMortem& analysis, const std::string& name) {
try {
const auto address = analysis.resolve_symbol(name).get_online_address();
- std::cout << winapi::format_address(address) << '\n';
+ std::cout << winapi::address::format(address) << '\n';
} catch (const std::exception& e) {
dump_error(e);
std::cout << name << '\n';