Lines Matching refs:mach_header_sz
784 size_t mach_header_sz = sizeof(struct mach_header); in parse_machfile() local
806 mach_header_sz = sizeof(struct mach_header_64); in parse_machfile()
886 if (os_add_overflow(mach_header_sz, header->sizeofcmds, &cmds_size) || in parse_machfile()
1036 offset = mach_header_sz; in parse_machfile()
1522 size_t mach_header_sz = sizeof(struct mach_header); in check_if_simulator_binary() local
1546 mach_header_sz = sizeof(struct mach_header_64); in check_if_simulator_binary()
1550 if (os_add_overflow(mach_header_sz, header->sizeofcmds, &cmds_size) || in check_if_simulator_binary()
1582 offset = mach_header_sz; in check_if_simulator_binary()
3355 size_t mach_header_sz = sizeof(struct mach_header); in set_code_unprotect() local
3358 mach_header_sz = sizeof(struct mach_header_64); in set_code_unprotect()
3360 offset = mach_header_sz; in set_code_unprotect()