Lines Matching refs:load_command
158 struct load_command *lcp,
776 struct load_command *lcp; in parse_machfile()
1050 if (offset + sizeof(struct load_command) > cmds_size) { in parse_machfile()
1058 lcp = (struct load_command *)((uintptr_t)addr + offset); in parse_machfile()
1070 lcp->cmdsize < sizeof(struct load_command) || in parse_machfile()
1554 struct load_command *lcp; in check_if_simulator_binary()
1627 if (offset + sizeof(struct load_command) > cmds_size) { in check_if_simulator_binary()
1634 lcp = (struct load_command *)((uintptr_t)addr + offset); in check_if_simulator_binary()
1645 lcp->cmdsize < sizeof(struct load_command) || in check_if_simulator_binary()
2046 struct load_command *lcp, in load_segment()
3663 struct load_command *lcp = (struct load_command *)(addr + offset); in set_code_unprotect()