Ken Thomases : dbghelp: Ignore Mach-O segments other than __TEXT for images in dyld' s shared cache.
julliard at wine.codeweavers.com
Wed Aug 5 10:28:03 CDT 2015
Author: Ken Thomases <ken at codeweavers.com>
Date: Tue Aug 4 02:40:38 2015 -0500
dbghelp: Ignore Mach-O segments other than __TEXT for images in dyld's shared cache.
Images in the shared cache have their segments mapped non-contiguously. We
don't know how to find where the non-__TEXT segments actually are. Also, the
code assumes that the image is mapped contiguously in various places. So, we
just ignore those segments.
Treating the non-contiguous segments as though they were contiguous caused
their apparent memory ranges to overlap, leading to addresses being attributed
to the wrong module, let alone symbol.
dlls/dbghelp/dbghelp_private.h | 2 +-
dlls/dbghelp/image_private.h | 1 +
dlls/dbghelp/macho_module.c | 96 ++++++++++++++++++++++++++++++++++--------
dlls/dbghelp/minidump.c | 2 +-
dlls/dbghelp/path.c | 2 +-
5 files changed, 83 insertions(+), 20 deletions(-)
More information about the wine-cvs