dbghelp: Don't check version of Mach-O dyld_all_image_infos structure.
The structure has changed repeatedly, but always in a backward compatible way. The version check was only hampering us.
This commit is contained in:
parent
131a046302
commit
6903238948
|
@ -1170,7 +1170,6 @@ static BOOL macho_enum_modules_internal(const struct process* pcs,
|
|||
if (!pcs->dbg_hdr_addr ||
|
||||
!ReadProcessMemory(pcs->handle, (void*)pcs->dbg_hdr_addr,
|
||||
&image_infos, sizeof(image_infos), NULL) ||
|
||||
(image_infos.version != 1 && image_infos.version != 2) ||
|
||||
!image_infos.infoArray)
|
||||
goto done;
|
||||
TRACE("Process has %u image infos at %p\n", image_infos.infoArrayCount, image_infos.infoArray);
|
||||
|
|
Loading…
Reference in New Issue