Home
last modified time | relevance | path

Searched refs:mach_header_sz (Results 1 – 2 of 2) sorted by relevance

/xnu-8020.101.4/bsd/kern/
H A Dkern_core.c266 size_t mach_header_sz = sizeof(struct mach_header); in coredump() local
290 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()
H A Dmach_loader.c784 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()
[all …]