Lines Matching refs:load_command
223 const struct load_command* startCmds = 0; in kernel_collection_slide()
225 startCmds = (struct load_command*)((uintptr_t)mh + sizeof(struct mach_header_64)); in kernel_collection_slide()
227 startCmds = (struct load_command*)((uintptr_t)mh + sizeof(struct mach_header)); in kernel_collection_slide()
233 …const struct load_command* const cmdsEnd = (struct load_command*)((uintptr_t)startCmds + mh->sizeo… in kernel_collection_slide()
234 const struct load_command* cmd = startCmds; in kernel_collection_slide()
239 const struct load_command* nextCmd = (struct load_command*)((uintptr_t)cmd + cmd->cmdsize); in kernel_collection_slide()
335 struct load_command *lc; in kernel_collection_adjust_fileset_entry_addrs()
341 lc = (struct load_command *)((uintptr_t)mh + sizeof(*mh)); in kernel_collection_adjust_fileset_entry_addrs()
343 lc = (struct load_command *)((uintptr_t)lc + lc->cmdsize)) { in kernel_collection_adjust_fileset_entry_addrs()
402 struct load_command *lc; in kernel_collection_adjust_mh_addrs()
417 lc = (struct load_command *)((uintptr_t)kc_mh + sizeof(*kc_mh)); in kernel_collection_adjust_mh_addrs()
419 lc = (struct load_command *)((uintptr_t)lc + lc->cmdsize)) { in kernel_collection_adjust_mh_addrs()