Lines Matching refs:load_command
162 struct load_command *lcp,
788 struct load_command *lcp; in parse_machfile()
1062 if (offset + sizeof(struct load_command) > cmds_size) { in parse_machfile()
1070 lcp = (struct load_command *)((uintptr_t)addr + offset); in parse_machfile()
1082 lcp->cmdsize < sizeof(struct load_command) || in parse_machfile()
1566 struct load_command *lcp; in check_if_simulator_binary()
1639 if (offset + sizeof(struct load_command) > cmds_size) { in check_if_simulator_binary()
1646 lcp = (struct load_command *)((uintptr_t)addr + offset); in check_if_simulator_binary()
1657 lcp->cmdsize < sizeof(struct load_command) || in check_if_simulator_binary()
2058 struct load_command *lcp, in load_segment()
3691 struct load_command *lcp = (struct load_command *)(addr + offset); in set_code_unprotect()