Searched refs:mach_header (Results 1 - 11 of 11) sorted by relevance

/xnu-2782.1.97/bsd/kern/
H A Dmach_loader.h53 user_addr_t mach_header; member in struct:_load_result
78 struct mach_header *header,
H A Dmach_loader.c100 .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 Dkern_core.c239 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 Dkern_exec.c743 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 Dkernel_mach_header.h67 typedef struct mach_header kernel_mach_header_t;
/xnu-2782.1.97/libkern/kxld/
H A Dkxld_util.c274 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 Dkxld_object.c257 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 Dsetsegname.c124 struct mach_header * hdr;
/xnu-2782.1.97/EXTERNAL_HEADERS/mach-o/
H A Dloader.h54 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 Dkextsymboltool.c777 struct mach_header hdr;
/xnu-2782.1.97/libkern/c++/
H A DOSKext.cpp4849 struct mach_header ** kxldHeaderPtr = NULL; // do not free
4850 struct mach_header * kxld_header = NULL; // xxx - need to free here?

Completed in 157 milliseconds