Mach-O

Mach-O is Darwin's object file format. These headers define the on-disk structures — headers, load commands, symbol tables, relocations, chained fixups, and fat/universal containers — plus the dyld runtime interface for enumerating and observing loaded images.

File format

mach-o/compact_unwind_encoding.h===----------------------------------------------------------------------===//
mach-o/fat.hThis header file describes the structures of the file format for "fat"
mach-o/fixup-chains.h#define LC_DYLD_EXPORTS_TRIE 0x80000033 // used with linkedit_data_command
mach-o/loader.hThis file describes the format of mach object files.
mach-o/nlist.h$NetBSD: nlist.h,v 1.5 1994/10/26 00:56:11 cgd Exp $
mach-o/ranlib.hranlib.h 4.1 83/05/03
mach-o/reloc.h$NetBSD: exec.h,v 1.6 1994/10/27 04:16:05 cgd Exp $
mach-o/stab.h$NetBSD: stab.h,v 1.4 1994/10/26 00:56:25 cgd Exp $

Runtime & dyld

mach-o/arch.hThe NXArchInfo structs contain the architectures symbolic name
mach-o/getsect.h__cplusplus
mach-o/ldsyms.hThis file describes the link editor defined symbols. The semantics of a
mach-o/swap.h__cplusplus

Architecture