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()
288 struct segment_command *seg_hdr = NULL; in validate_and_swap_macho_32()358 seg_hdr = (struct segment_command *) load_hdr; in validate_and_swap_macho_32()665 struct segment_command *seg_hdr = NULL; in unswap_macho_32()688 seg_hdr = (struct segment_command *) load_hdr; in unswap_macho_32()
615 struct segment_command *seg_hdr = in init_from_final_linked_image()616 (struct segment_command *) cmd_hdr; in init_from_final_linked_image()670 struct segment_command *seg_hdr = in init_from_final_linked_image()671 (struct segment_command *) cmd_hdr; in init_from_final_linked_image()998 struct segment_command *seg_hdr = in init_from_object()999 (struct segment_command *) cmd_hdr; in init_from_object()
267 size_t segment_command_sz = sizeof(struct segment_command); in coredump()425 struct segment_command *sc; in coredump()533 sc = (struct segment_command *) (header + hoffset); in coredump()535 sc->cmdsize = sizeof(struct segment_command); in coredump()
299 widen_segment_command(const struct segment_command *scp32, in widen_segment_command()1076 struct segment_command *scp = (struct segment_command *) lcp; in parse_machfile()2029 struct segment_command_64 segment_command, *scp; in load_segment() local2070 segment_command_size = sizeof(struct segment_command); in load_segment()2093 scp = &segment_command; in load_segment()2094 widen_segment_command((struct segment_command *)lcp, scp); in load_segment()3276 struct segment_command *seg32; in set_code_unprotect()3382 seg32 = (struct segment_command *)lcp; in set_code_unprotect()
165 struct segment_command *sg = (struct segment_command *) cmd; in disk_kernel_segments()
68 typedef struct segment_command kernel_segment_command_t;
211 struct segment_command * segcmd; in main()
260 SEGMENT_TYPES = (macholib.mach_o.segment_command_64, macholib.mach_o.segment_command)
330 sizeofcmds = (uint32_t)(core_context->core_segment_count * sizeof(struct segment_command) + in coredump_save_summary()479 struct segment_command seg_command = { }; in coredump_save_segment_descriptions()
355 struct segment_command { /* for 32-bit architectures */ struct
773 struct segment_command segcmd; in main()