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 /src/post_mortem.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-- | src/post_mortem.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/post_mortem.cpp b/src/post_mortem.cpp index d365b02..01f180a 100644 --- a/src/post_mortem.cpp +++ b/src/post_mortem.cpp @@ -17,7 +17,7 @@ namespace { std::string pdb_already_loaded(Address online_base, const std::string& path) { std::ostringstream oss; - oss << "module with online base address " << format_address(online_base) + oss << "module with online base address " << address::format(online_base) << " has already been loaded: " << path; return oss.str(); } @@ -30,27 +30,27 @@ std::string pdb_already_loaded(const std::string& path) { std::string offline_base_already_used(Address base) { std::ostringstream oss; - oss << "module with offline base address " << format_address(base) + oss << "module with offline base address " << address::format(base) << " has already been loaded (shouldn't happen)"; return oss.str(); } std::string module_not_found(Address base) { std::ostringstream oss; - oss << "module with base address " << format_address(base) << " wasn't found"; + oss << "module with base address " << address::format(base) << " wasn't found"; return oss.str(); } std::string guess_module_no_modules(Address pivot) { std::ostringstream oss; - oss << "couldn't select a module for address " << format_address(pivot) + oss << "couldn't select a module for address " << address::format(pivot) << ": no modules have been loaded yet"; return oss.str(); } std::string guess_module_address_too_low(Address pivot) { std::ostringstream oss; - oss << "couldn't select a module for address " << format_address(pivot) << ": it's too low"; + oss << "couldn't select a module for address " << address::format(pivot) << ": it's too low"; return oss.str(); } |