Home
last modified time | relevance | path

Searched refs:segment_command (Results 1 – 14 of 14) sorted by relevance

/xnu-11215/libkern/os/
H A Dinternal.c32 …const struct segment_command *sgp = (const struct segment_command *)(const void *)((const char *)m… in _os_trace_addr_in_text_segment_32()
40 sgp = (const struct segment_command *)(const void *)((const char *)sgp + sgp->cmdsize); in _os_trace_addr_in_text_segment_32()
/xnu-11215/libkern/kxld/
H A Dkxld_seg.h43 struct segment_command;
64 kern_return_t kxld_seg_init_from_macho_32(KXLDSeg *seg, struct segment_command *src)
H A Dkxld_seg.c81 kxld_seg_init_from_macho_32(KXLDSeg *seg, struct segment_command *src) in kxld_seg_init_from_macho_32()
493 size += sizeof(struct segment_command); in kxld_seg_get_macho_header_size()
547 struct segment_command *hdr32 = in kxld_seg_export_macho_to_file_buffer()
548 (struct segment_command *) ((void *) (buf + *header_offset)); in kxld_seg_export_macho_to_file_buffer()
648 struct segment_command *seghdr = NULL; in seg_export_macho_header_32()
656 seghdr = (struct segment_command *) ((void *) (buf + *header_offset)); in seg_export_macho_header_32()
H A Dkxld_util.c292 struct segment_command *seg_hdr = NULL; in validate_and_swap_macho_32()
362 seg_hdr = (struct segment_command *) load_hdr; in validate_and_swap_macho_32()
669 struct segment_command *seg_hdr = NULL; in unswap_macho_32()
692 seg_hdr = (struct segment_command *) load_hdr; in unswap_macho_32()
H A Dkxld_object.c620 struct segment_command *seg_hdr = in init_from_final_linked_image()
621 (struct segment_command *) cmd_hdr; in init_from_final_linked_image()
675 struct segment_command *seg_hdr = in init_from_final_linked_image()
676 (struct segment_command *) cmd_hdr; in init_from_final_linked_image()
1003 struct segment_command *seg_hdr = in init_from_object()
1004 (struct segment_command *) cmd_hdr; in init_from_object()
/xnu-11215/tests/
H A Dkas_info.c204 struct segment_command *sg = (struct segment_command *) cmd; in disk_kernel_segments()
/xnu-11215/bsd/kern/
H A Dkern_core.c351 size_t segment_command_sz = sizeof(struct segment_command); in coredump()
575 struct segment_command *sc; in coredump()
690 sc = (struct segment_command *) (header + hoffset); in coredump()
692 sc->cmdsize = sizeof(struct segment_command); in coredump()
H A Dmach_loader.c308 widen_segment_command(const struct segment_command *scp32, in widen_segment_command()
1091 struct segment_command *scp = (struct segment_command *) lcp; in parse_machfile()
1928 struct segment_command_64 segment_command, *scp; in load_segment() local
1970 segment_command_size = sizeof(struct segment_command); in load_segment()
1986 scp = &segment_command; in load_segment()
1987 widen_segment_command((struct segment_command *)lcp, scp); in load_segment()
3442 struct segment_command *seg32; in set_code_unprotect()
3549 seg32 = (struct segment_command *)lcp; in set_code_unprotect()
/xnu-11215/libkern/libkern/
H A Dkernel_mach_header.h68 typedef struct segment_command kernel_segment_command_t;
/xnu-11215/SETUP/setsegname/
H A Dsetsegname.c211 struct segment_command * segcmd; in main()
/xnu-11215/tools/lldbmacros/
H A Dmacho.py254 SEGMENT_TYPES = (macholib.mach_o.segment_command_64, macholib.mach_o.segment_command)
/xnu-11215/EXTERNAL_HEADERS/mach-o/
H A Dloader.h355 struct segment_command { /* for 32-bit architectures */ struct
/xnu-11215/osfmk/kdp/
H A Dprocessor_core.c457 sizeofcmds = (uint32_t)(core_context->core_segment_count * sizeof(struct segment_command) + in coredump_save_summary()
592 struct segment_command seg_command = { }; in coredump_save_segment_descriptions()
/xnu-11215/SETUP/kextsymboltool/
H A Dkextsymboltool.c773 struct segment_command segcmd; in main()