Searched refs:segment_command (Results 1 – 14 of 14) sorted by relevance
32 …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()
43 struct segment_command;64 kern_return_t kxld_seg_init_from_macho_32(KXLDSeg *seg, struct segment_command *src)
81 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()
292 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()
620 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()
204 struct segment_command *sg = (struct segment_command *) cmd; in disk_kernel_segments()
351 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()
308 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() local1970 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()
68 typedef struct segment_command kernel_segment_command_t;
211 struct segment_command * segcmd; in main()
254 SEGMENT_TYPES = (macholib.mach_o.segment_command_64, macholib.mach_o.segment_command)
355 struct segment_command { /* for 32-bit architectures */ struct
457 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()
773 struct segment_command segcmd; in main()