Lines Matching refs:load_command
157 struct load_command *lcp,
782 struct load_command *lcp; in parse_machfile()
1056 if (offset + sizeof(struct load_command) > cmds_size) { in parse_machfile()
1064 lcp = (struct load_command *)((uintptr_t)addr + offset); in parse_machfile()
1076 lcp->cmdsize < sizeof(struct load_command) || in parse_machfile()
1560 struct load_command *lcp; in check_if_simulator_binary()
1633 if (offset + sizeof(struct load_command) > cmds_size) { in check_if_simulator_binary()
1640 lcp = (struct load_command *)((uintptr_t)addr + offset); in check_if_simulator_binary()
1651 lcp->cmdsize < sizeof(struct load_command) || in check_if_simulator_binary()
1918 struct load_command *lcp, in load_segment()
3525 struct load_command *lcp = (struct load_command *)(addr + offset); in set_code_unprotect()