From 50144b60eab967687e6b382bd84e64b6cf61ca3b Mon Sep 17 00:00:00 2001 From: lethosor Date: Wed, 27 Jul 2016 19:54:19 -0400 Subject: [PATCH] A few %08x to %p changes --- library/Process-darwin.cpp | 2 +- library/VTableInterpose.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Process-darwin.cpp b/library/Process-darwin.cpp index 95c347368..d6988d5d6 100644 --- a/library/Process-darwin.cpp +++ b/library/Process-darwin.cpp @@ -207,7 +207,7 @@ void Process::getMemRanges( vector & ranges ) if (log_ranges) { fprintf(stderr, - "%08x-%08x %8uK %c%c%c/%c%c%c %11s %6s %10s uwir=%hu sub=%u dlname: %s\n", + "%p-%p %8uK %c%c%c/%c%c%c %11s %6s %10s uwir=%hu sub=%u dlname: %s\n", address, (address + vmsize), (vmsize >> 10), (info.protection & VM_PROT_READ) ? 'r' : '-', (info.protection & VM_PROT_WRITE) ? 'w' : '-', diff --git a/library/VTableInterpose.cpp b/library/VTableInterpose.cpp index 63edb2205..96cbfff9c 100644 --- a/library/VTableInterpose.cpp +++ b/library/VTableInterpose.cpp @@ -308,7 +308,7 @@ VMethodInterposeLinkBase::VMethodInterposeLinkBase(virtual_identity *host, int v * - interpose_method comes from method_pointer_to_addr_ */ - fprintf(stderr, "Bad VMethodInterposeLinkBase arguments: %d %08x (%s)\n", + fprintf(stderr, "Bad VMethodInterposeLinkBase arguments: %d %p (%s)\n", vmethod_idx, uintptr_t(interpose_method), name_str); fflush(stderr); abort();