const LC_SEGMENT … const LC_SYMTAB … const LC_SYMSEG … const LC_THREAD … const LC_UNIXTHREAD … const LC_LOADFVMLIB … const LC_IDFVMLIB … const LC_IDENT … const LC_FVMFILE … const LC_PREPAGE … const LC_DYSYMTAB … const LC_LOAD_DYLIB … const LC_ID_DYLIB … const LC_LOAD_DYLINKER … const LC_ID_DYLINKER … const LC_PREBOUND_DYLIB … const LC_ROUTINES … const LC_SUB_FRAMEWORK … const LC_SUB_UMBRELLA … const LC_SUB_CLIENT … const LC_SUB_LIBRARY … const LC_TWOLEVEL_HINTS … const LC_PREBIND_CKSUM … const LC_LOAD_WEAK_DYLIB … const LC_SEGMENT_64 … const LC_ROUTINES_64 … const LC_UUID … const LC_RPATH … const LC_CODE_SIGNATURE … const LC_SEGMENT_SPLIT_INFO … const LC_REEXPORT_DYLIB … const LC_LAZY_LOAD_DYLIB … const LC_ENCRYPTION_INFO … const LC_DYLD_INFO … const LC_DYLD_INFO_ONLY … const LC_LOAD_UPWARD_DYLIB … const LC_VERSION_MIN_MACOSX … const LC_VERSION_MIN_IPHONEOS … const LC_FUNCTION_STARTS … const LC_DYLD_ENVIRONMENT … const LC_MAIN … const LC_DATA_IN_CODE … const LC_SOURCE_VERSION … const LC_DYLIB_CODE_SIGN_DRS … const LC_ENCRYPTION_INFO_64 … const LC_LINKER_OPTION … const LC_LINKER_OPTIMIZATION_HINT … const LC_VERSION_MIN_TVOS … const LC_VERSION_MIN_WATCHOS … const LC_VERSION_NOTE … const LC_BUILD_VERSION … const LC_DYLD_EXPORTS_TRIE … const LC_DYLD_CHAINED_FIXUPS … type LoadCmd … type LoadCmdReader … func NewLoadCmdReader(f io.ReadSeeker, order binary.ByteOrder, nextOffset int64) LoadCmdReader { … } func (r *LoadCmdReader) Next() (LoadCmd, error) { … } func (r LoadCmdReader) ReadAt(offset int64, data interface{ … } func (r LoadCmdReader) Offset() int64 { … } type LoadCmdUpdater … func NewLoadCmdUpdater(f io.ReadWriteSeeker, order binary.ByteOrder, nextOffset int64) LoadCmdUpdater { … } func (u LoadCmdUpdater) WriteAt(offset int64, data interface{ … } func FileHeaderSize(f *macho.File) int64 { … }