Lines Matching defs:uLCmd

474     } uLCmd;
475 uLCmd.pb = &uBuf.ab[f64Bit ? sizeof(mach_header_64_t) : sizeof(mach_header_32_t)];
479 uint32_t const cbCmd = uLCmd.pGenric->cmdsize;
483 switch (uLCmd.pGenric->cmd)
486 if (cbCmd != sizeof(segment_command_32_t) + uLCmd.pSeg32->nsects * sizeof(section_32_t))
488 if (!dbgDiggerDarwinIsValidSegOrSectName(uLCmd.pSeg32->segname, sizeof(uLCmd.pSeg32->segname)))
490 if (!strcmp(uLCmd.pSeg32->segname, "__LINKEDIT"))
494 aSegs[cSegs].Address = uLCmd.pSeg32->vmaddr;
495 aSegs[cSegs].uRva = uLCmd.pSeg32->vmaddr - uModAddr;
496 aSegs[cSegs].cb = uLCmd.pSeg32->vmsize;
497 aSegs[cSegs].fFlags = uLCmd.pSeg32->flags; /* Abusing the flags field here... */
499 AssertCompile(RTDBG_SEGMENT_NAME_LENGTH > sizeof(uLCmd.pSeg32->segname));
500 strcpy(aSegs[cSegs].szName, uLCmd.pSeg32->segname);
505 if (cbCmd != sizeof(segment_command_64_t) + uLCmd.pSeg64->nsects * sizeof(section_64_t))
507 if (!dbgDiggerDarwinIsValidSegOrSectName(uLCmd.pSeg64->segname, sizeof(uLCmd.pSeg64->segname)))
509 if (!strcmp(uLCmd.pSeg64->segname, "__LINKEDIT"))
513 aSegs[cSegs].Address = uLCmd.pSeg64->vmaddr;
514 aSegs[cSegs].uRva = uLCmd.pSeg64->vmaddr - uModAddr;
515 aSegs[cSegs].cb = uLCmd.pSeg64->vmsize;
516 aSegs[cSegs].fFlags = uLCmd.pSeg64->flags; /* Abusing the flags field here... */
518 AssertCompile(RTDBG_SEGMENT_NAME_LENGTH > sizeof(uLCmd.pSeg64->segname));
519 strcpy(aSegs[cSegs].szName, uLCmd.pSeg64->segname);
526 if (RTUuidIsNull((PCRTUUID)&uLCmd.pUuid->uuid[0]))
528 memcpy(&Uuid, &uLCmd.pUuid->uuid[0], sizeof(uLCmd.pUuid->uuid));
533 if (uLCmd.pGenric->cmd > LC_DYLIB_CODE_SIGN_DRS + 32)
540 uLCmd.pb += cbCmd;