Home
last modified time | relevance | path

Searched refs:segment_command_64 (Results 1 – 18 of 18) sorted by relevance

/xnu-8020.121.3/libkern/os/
H A Dinternal.c50 …const struct segment_command_64 *sgp = (const struct segment_command_64 *)(const void *)((const ch… in _os_trace_addr_in_text_segment_64()
58 sgp = (const struct segment_command_64 *)(const void *)((const char *)sgp + sgp->cmdsize); in _os_trace_addr_in_text_segment_64()
/xnu-8020.121.3/osfmk/mach/
H A Ddyld_kernel_fixups.h251 const struct segment_command_64* seg = (const struct segment_command_64*)(uintptr_t)cmd; in kernel_collection_slide()
336 struct segment_command_64 *seg, *linkedit_cmd = NULL; in kernel_collection_adjust_fileset_entry_addrs()
351 if (strcmp(((struct segment_command_64 *)(uintptr_t)lc)->segname, SEG_LINKEDIT) == 0) { in kernel_collection_adjust_fileset_entry_addrs()
352 linkedit_cmd = ((struct segment_command_64 *)(uintptr_t)lc); in kernel_collection_adjust_fileset_entry_addrs()
355 seg = (struct segment_command_64 *)(uintptr_t)lc; in kernel_collection_adjust_fileset_entry_addrs()
404 struct segment_command_64 *seg; in kernel_collection_adjust_mh_addrs()
445 seg = (struct segment_command_64 *)(uintptr_t)lc; in kernel_collection_adjust_mh_addrs()
/xnu-8020.121.3/libkern/kxld/
H A Dkxld_seg.h44 struct segment_command_64;
69 kern_return_t kxld_seg_init_from_macho_64(KXLDSeg *seg, struct segment_command_64 *src)
H A Dkxld_seg.c110 kxld_seg_init_from_macho_64(KXLDSeg *seg, struct segment_command_64 *src) in kxld_seg_init_from_macho_64()
495 size += sizeof(struct segment_command_64); in kxld_seg_get_macho_header_size()
549 struct segment_command_64 *hdr64 = in kxld_seg_export_macho_to_file_buffer()
550 (struct segment_command_64 *) ((void *) (buf + *header_offset)); in kxld_seg_export_macho_to_file_buffer()
703 struct segment_command_64 *seghdr = NULL; in seg_export_macho_header_64()
727 seghdr = (struct segment_command_64 *) ((void *) (buf + *header_offset)); in seg_export_macho_header_64()
H A Dkxld_util.c469 struct segment_command_64 *seg_hdr = NULL; in validate_and_swap_macho_64()
538 seg_hdr = (struct segment_command_64 *) ((void *) load_hdr); in validate_and_swap_macho_64()
723 struct segment_command_64 *seg_hdr = NULL; in unswap_macho_64()
746 seg_hdr = (struct segment_command_64 *) ((void *) load_hdr); in unswap_macho_64()
H A Dkxld_object.c631 struct segment_command_64 *seg_hdr = in init_from_final_linked_image()
632 (struct segment_command_64 *) ((void *) cmd_hdr); in init_from_final_linked_image()
690 struct segment_command_64 *seg_hdr = in init_from_final_linked_image()
691 (struct segment_command_64 *) ((void *) cmd_hdr); in init_from_final_linked_image()
1028 struct segment_command_64 *seg_hdr = in init_from_object()
1029 (struct segment_command_64 *) ((void *) cmd_hdr); in init_from_object()
/xnu-8020.121.3/pexpert/gen/
H A Dkcformat.c88 struct segment_command_64 *seg; in PE_set_kc_header()
97 seg = (struct segment_command_64 *)(uintptr_t)lc; in PE_set_kc_header()
/xnu-8020.121.3/bsd/kern/
H A Dkern_core.c291 segment_command_sz = sizeof(struct segment_command_64); in coredump()
426 struct segment_command_64 *sc64; in coredump()
519 sc64 = (struct segment_command_64 *)(header + hoffset); in coredump()
521 sc64->cmdsize = sizeof(struct segment_command_64); in coredump()
H A Dmach_loader.c300 struct segment_command_64 *scp) in widen_segment_command()
316 note_all_image_info_section(const struct segment_command_64 *scp, in note_all_image_info_section()
1159 struct segment_command_64 *scp64 = (struct segment_command_64 *) lcp; in parse_machfile()
2029 struct segment_command_64 segment_command, *scp; in load_segment()
2057 segment_command_size = sizeof(struct segment_command_64); in load_segment()
2091 scp = (struct segment_command_64 *)lcp; in load_segment()
3275 struct segment_command_64 *seg64; in set_code_unprotect()
3371 seg64 = (struct segment_command_64 *)lcp; in set_code_unprotect()
/xnu-8020.121.3/tests/
H A Dkas_info.c170 struct segment_command_64 *sg = (struct segment_command_64 *) cmd; in disk_kernel_segments()
/xnu-8020.121.3/libkern/libkern/
H A Dkernel_mach_header.h58 typedef struct segment_command_64 kernel_segment_command_t;
/xnu-8020.121.3/tools/kt-dump/
H A Dkt-dump.cpp168 segment_command_64 *seg_cmd = reinterpret_cast<segment_command_64 *>(cmd); in main()
/xnu-8020.121.3/SETUP/setsegname/
H A Dsetsegname.c221 struct segment_command_64 * segcmd; in main()
/xnu-8020.121.3/tools/lldbmacros/
H A Dmacho.py260 SEGMENT_TYPES = (macholib.mach_o.segment_command_64, macholib.mach_o.segment_command)
/xnu-8020.121.3/osfmk/kdp/
H A Dprocessor_core.c323 sizeofcmds = (uint32_t)(core_context->core_segment_count * sizeof(struct segment_command_64) + in coredump_save_summary()
448 struct segment_command_64 seg_command = { }; in coredump_save_segment_descriptions()
/xnu-8020.121.3/EXTERNAL_HEADERS/mach-o/
H A Dloader.h375 struct segment_command_64 { /* for 64-bit architectures */ struct
/xnu-8020.121.3/SETUP/kextsymboltool/
H A Dkextsymboltool.c735 struct segment_command_64 segcmd; in main()
/xnu-8020.121.3/osfmk/kern/
H A Dkalloc.c1034 (struct segment_command_64 *)(vm_offset_t)lc; in kalloc_type_view_parse()