Commit 5acf1510 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

dbghelp: Ignore the __PAGEZERO segment.

It made it seem as though the wineloader always started at address 0. Issue identified by Jacek Caban.
parent 1f2680f5
......@@ -398,6 +398,11 @@ static int macho_accum_segs_range(struct macho_file_map* fmap,
TRACE("Ignoring special Wine segment %s\n", debugstr_an(sc->segname, sizeof(sc->segname)));
return 0;
}
if (!strncmp(sc->segname, "__PAGEZERO", 10))
{
TRACE("Ignoring __PAGEZERO segment\n");
return 0;
}
/* If this segment starts before previously-known earliest, record
* new earliest. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment