Searched refs:mach_header_sz (Results 1 – 2 of 2) sorted by relevance
266 size_t mach_header_sz = sizeof(struct mach_header); in coredump() local290 mach_header_sz = sizeof(struct mach_header_64); in coredump()384 if (os_add_overflow(command_size, mach_header_sz, &header_size)) { in coredump()416 hoffset = mach_header_sz; /* offset into header */ in coredump()
784 size_t mach_header_sz = sizeof(struct mach_header); in parse_machfile() local806 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() local1546 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() local3358 mach_header_sz = sizeof(struct mach_header_64); in set_code_unprotect()[all …]