Lines Matching refs:load_command
158 struct load_command *lcp,
771 struct load_command *lcp; in parse_machfile()
1041 if (offset + sizeof(struct load_command) > cmds_size) { in parse_machfile()
1049 lcp = (struct load_command *)((uintptr_t)addr + offset); in parse_machfile()
1061 lcp->cmdsize < sizeof(struct load_command) || in parse_machfile()
1514 struct load_command *lcp; in check_if_simulator_binary()
1587 if (offset + sizeof(struct load_command) > cmds_size) { in check_if_simulator_binary()
1594 lcp = (struct load_command *)((uintptr_t)addr + offset); in check_if_simulator_binary()
1605 lcp->cmdsize < sizeof(struct load_command) || in check_if_simulator_binary()
2018 struct load_command *lcp, in load_segment()
3366 struct load_command *lcp = (struct load_command *)(addr + offset); in set_code_unprotect()