Searched refs:mach_header (Results 1 - 11 of 11) sorted by relevance
/xnu-2782.1.97/bsd/kern/ |
H A D | mach_loader.h | 53 user_addr_t mach_header; member in struct:_load_result 78 struct mach_header *header,
|
H A D | mach_loader.c | 100 .mach_header = MACH_VM_MIN_ADDRESS, 127 struct mach_header *header, 235 struct mach_header *mach_header, 290 struct mach_header *header, 474 * this is the limit on the kalloc() of enough bytes for a mach_header and 489 struct mach_header *header, 513 size_t mach_header_sz = sizeof(struct mach_header); 1105 result->mach_header = map_addr; 1412 struct mach_header mach_heade member in union:macho_data::macho_vnode_header 1801 get_macho_vnode( char *path, integer_t archbits, struct mach_header *mach_header, off_t *file_offset, off_t *macho_size, struct macho_data *data, struct vnode **vpp ) argument [all...] |
H A D | kern_core.c | 239 struct mach_header *mh = NULL; /* protected by is_64 */ 242 size_t mach_header_sz = sizeof(struct mach_header); 346 mh = (struct mach_header *)header;
|
H A D | kern_exec.c | 743 struct mach_header *mach_header = (struct mach_header *)imgp->ip_vdata; local 764 if ((mach_header->magic == MH_CIGAM) || 765 (mach_header->magic == MH_CIGAM_64)) { 770 if ((mach_header->magic != MH_MAGIC) && 771 (mach_header->magic != MH_MAGIC_64)) { 776 switch (mach_header->filetype) { 784 imgp->ip_origcputype = mach_header->cputype; 785 imgp->ip_origcpusubtype = mach_header [all...] |
/xnu-2782.1.97/libkern/libkern/ |
H A D | kernel_mach_header.h | 67 typedef struct mach_header kernel_mach_header_t;
|
/xnu-2782.1.97/libkern/kxld/ |
H A D | kxld_util.c | 274 struct mach_header *mach_hdr = (struct mach_header *) ((void *) file); 307 /* Validate the mach_header's magic number */ 478 /* Validate the mach_header's magic number */ 610 struct mach_header *hdr = (struct mach_header *) ((void *) file); 627 struct mach_header *mach_hdr = (struct mach_header *) ((void *) file);
|
H A D | kxld_object.c | 257 struct mach_header *mach_hdr = (struct mach_header *) ((void *) object->file); 423 struct mach_header *mach_hdr = NULL; 493 mach_hdr = (struct mach_header *) ((void *) object->file); 1027 struct mach_header *mach_hdr = (struct mach_header *) ((void *) (file + offset)); 1066 header_size += object_is_32_bit ? sizeof(struct mach_header) : sizeof(struct mach_header_64); 1859 struct mach_header *mach = NULL; 1867 mach = (struct mach_header *) ((void *) (buf + *header_offset));
|
/xnu-2782.1.97/SETUP/setsegname/ |
H A D | setsegname.c | 124 struct mach_header * hdr;
|
/xnu-2782.1.97/EXTERNAL_HEADERS/mach-o/ |
H A D | loader.h | 54 struct mach_header { struct 64 /* Constant for the magic field of the mach_header (32-bit architectures) */ 108 * Constants for the filetype field of the mach_header 124 /* Constants for the flags field of the mach_header */ 211 * The load commands directly follow the mach_header. The total size of all 212 * of the commands is given by the sizeofcmds field in the mach_header. All 381 * segment of a MH_EXECUTE and MH_FVMLIB format file contains the mach_header 391 * mach_header and load commands are not part of the segment. 1294 * by the symbol from the mach_header for the image. If the flags 1450 uint32_t offset; /* from mach_header t [all...] |
/xnu-2782.1.97/SETUP/kextsymboltool/ |
H A D | kextsymboltool.c | 777 struct mach_header hdr;
|
/xnu-2782.1.97/libkern/c++/ |
H A D | OSKext.cpp | 4849 struct mach_header ** kxldHeaderPtr = NULL; // do not free 4850 struct mach_header * kxld_header = NULL; // xxx - need to free here?
|
Completed in 157 milliseconds