Lines Matching refs:MachO
51 MachO::swapStruct(Cmd); in getStruct()
64 MachO::swapStruct(Cmd); in getStructOrErr()
74 unsigned SegmentLoadSize = Is64 ? sizeof(MachO::segment_command_64) : in getSectionPtr()
75 sizeof(MachO::segment_command); in getSectionPtr()
76 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : in getSectionPtr()
77 sizeof(MachO::section); in getSectionPtr()
87 static MachO::nlist_base
90 return getStruct<MachO::nlist_base>(O, P); in getSymbolTableEntryBase()
113 getPlainRelocationAddress(const MachO::any_relocation_info &RE) { in getPlainRelocationAddress()
118 getScatteredRelocationAddress(const MachO::any_relocation_info &RE) { in getScatteredRelocationAddress()
123 const MachO::any_relocation_info &RE) { in getPlainRelocationPCRel()
131 const MachO::any_relocation_info &RE) { in getScatteredRelocationPCRel()
136 const MachO::any_relocation_info &RE) { in getPlainRelocationLength()
143 getScatteredRelocationLength(const MachO::any_relocation_info &RE) { in getScatteredRelocationLength()
148 const MachO::any_relocation_info &RE) { in getPlainRelocationType()
157 MachO::section_64 Sect = O->getSection64(Sec); in getSectionFlags()
160 MachO::section Sect = O->getSection(Sec); in getSectionFlags()
166 auto CmdOrErr = getStructOrErr<MachO::load_command>(Obj, Ptr); in getLoadCommandInfo()
179 unsigned HeaderSize = Obj->is64Bit() ? sizeof(MachO::mach_header_64) in getFirstLoadCommandInfo()
180 : sizeof(MachO::mach_header); in getFirstLoadCommandInfo()
215 Obj->is64Bit() ? sizeof(MachO::section_64) : sizeof(MachO::section); in parseSegmentLoadCommand()
253 if (Load.C.cmd == MachO::LC_SYMTAB) { in MachOObjectFile()
260 } else if (Load.C.cmd == MachO::LC_DYSYMTAB) { in MachOObjectFile()
267 } else if (Load.C.cmd == MachO::LC_DATA_IN_CODE) { in MachOObjectFile()
274 } else if (Load.C.cmd == MachO::LC_LINKER_OPTIMIZATION_HINT) { in MachOObjectFile()
281 } else if (Load.C.cmd == MachO::LC_DYLD_INFO || in MachOObjectFile()
282 Load.C.cmd == MachO::LC_DYLD_INFO_ONLY) { in MachOObjectFile()
289 } else if (Load.C.cmd == MachO::LC_UUID) { in MachOObjectFile()
296 } else if (Load.C.cmd == MachO::LC_SEGMENT_64) { in MachOObjectFile()
297 if ((EC = parseSegmentLoadCommand<MachO::segment_command_64>( in MachOObjectFile()
300 } else if (Load.C.cmd == MachO::LC_SEGMENT) { in MachOObjectFile()
301 if ((EC = parseSegmentLoadCommand<MachO::segment_command>( in MachOObjectFile()
304 } else if (Load.C.cmd == MachO::LC_LOAD_DYLIB || in MachOObjectFile()
305 Load.C.cmd == MachO::LC_LOAD_WEAK_DYLIB || in MachOObjectFile()
306 Load.C.cmd == MachO::LC_LAZY_LOAD_DYLIB || in MachOObjectFile()
307 Load.C.cmd == MachO::LC_REEXPORT_DYLIB || in MachOObjectFile()
308 Load.C.cmd == MachO::LC_LOAD_UPWARD_DYLIB) { in MachOObjectFile()
325 sizeof(MachO::nlist_64) : in moveSymbolNext()
326 sizeof(MachO::nlist); in moveSymbolNext()
332 MachO::nlist_base Entry = getSymbolTableEntryBase(this, Symb); in getSymbolName()
343 return Flags & MachO::SECTION_TYPE; in getSectionType()
348 MachO::nlist_64 Entry = getSymbol64TableEntry(Sym); in getNValue()
351 MachO::nlist Entry = getSymbolTableEntry(Sym); in getNValue()
360 MachO::nlist_base Entry = getSymbolTableEntryBase(this, Symb); in getIndirectName()
361 if ((Entry.n_type & MachO::N_TYPE) != MachO::N_INDR) in getIndirectName()
382 MachO::nlist_base Entry = getSymbolTableEntryBase(this, DRI); in getSymbolAlignment()
383 return 1 << MachO::GET_COMM_ALIGN(Entry.n_desc); in getSymbolAlignment()
393 MachO::nlist_base Entry = getSymbolTableEntryBase(this, Symb); in getSymbolType()
397 if (n_type & MachO::N_STAB) in getSymbolType()
400 switch (n_type & MachO::N_TYPE) { in getSymbolType()
401 case MachO::N_UNDF : in getSymbolType()
403 case MachO::N_SECT : in getSymbolType()
410 MachO::nlist_base Entry = getSymbolTableEntryBase(this, DRI); in getSymbolFlags()
417 if ((MachOType & MachO::N_TYPE) == MachO::N_INDR) in getSymbolFlags()
420 if (MachOType & MachO::N_STAB) in getSymbolFlags()
423 if (MachOType & MachO::N_EXT) { in getSymbolFlags()
425 if ((MachOType & MachO::N_TYPE) == MachO::N_UNDF) { in getSymbolFlags()
432 if (!(MachOType & MachO::N_PEXT)) in getSymbolFlags()
436 if (MachOFlags & (MachO::N_WEAK_REF | MachO::N_WEAK_DEF)) in getSymbolFlags()
439 if (MachOFlags & (MachO::N_ARM_THUMB_DEF)) in getSymbolFlags()
442 if ((MachOType & MachO::N_TYPE) == MachO::N_ABS) in getSymbolFlags()
450 MachO::nlist_base Entry = getSymbolTableEntryBase(this, Symb); in getSymbolSection()
467 MachO::nlist_base Entry = in getSymbolSectionID()
501 MachO::section_64 Sect = getSection64(Sec); in getSectionContents()
505 MachO::section Sect = getSection(Sec); in getSectionContents()
517 MachO::section_64 Sect = getSection64(Sec); in getSectionAlignment()
520 MachO::section Sect = getSection(Sec); in getSectionAlignment()
529 return Flags & MachO::S_ATTR_PURE_INSTRUCTIONS; in isSectionText()
534 unsigned SectionType = Flags & MachO::SECTION_TYPE; in isSectionData()
535 return !(Flags & MachO::S_ATTR_PURE_INSTRUCTIONS) && in isSectionData()
536 !(SectionType == MachO::S_ZEROFILL || in isSectionData()
537 SectionType == MachO::S_GB_ZEROFILL); in isSectionData()
542 unsigned SectionType = Flags & MachO::SECTION_TYPE; in isSectionBSS()
543 return !(Flags & MachO::S_ATTR_PURE_INSTRUCTIONS) && in isSectionBSS()
544 (SectionType == MachO::S_ZEROFILL || in isSectionBSS()
545 SectionType == MachO::S_GB_ZEROFILL); in isSectionBSS()
568 MachO::section_64 Sect = getSection64(Sec); in section_rel_end()
571 MachO::section Sect = getSection(Sec); in section_rel_end()
586 assert(getHeader().filetype == MachO::MH_OBJECT && in getRelocationOffset()
588 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationOffset()
594 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationSymbol()
603 MachO::symtab_command S = getSymtabLoadCommand(); in getRelocationSymbol()
605 sizeof(MachO::nlist_64) : in getRelocationSymbol()
606 sizeof(MachO::nlist); in getRelocationSymbol()
619 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationType()
733 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationLength()
893 MachO::dylib_command D = in getLibraryShortNameByIndex()
894 getStruct<MachO::dylib_command>(this, Libraries[i]); in getLibraryShortNameByIndex()
931 MachO::symtab_command Symtab = getSymtabLoadCommand(); in symbol_end_impl()
933 sizeof(MachO::nlist_64) : in symbol_end_impl()
934 sizeof(MachO::nlist); in symbol_end_impl()
946 MachO::symtab_command Symtab = getSymtabLoadCommand(); in getSymbolByIndex()
950 is64Bit() ? sizeof(MachO::nlist_64) : sizeof(MachO::nlist); in getSymbolByIndex()
975 case llvm::MachO::CPU_TYPE_I386: in getFileFormatName()
977 case llvm::MachO::CPU_TYPE_ARM: in getFileFormatName()
979 case llvm::MachO::CPU_TYPE_POWERPC: in getFileFormatName()
987 case llvm::MachO::CPU_TYPE_X86_64: in getFileFormatName()
989 case llvm::MachO::CPU_TYPE_ARM64: in getFileFormatName()
991 case llvm::MachO::CPU_TYPE_POWERPC64: in getFileFormatName()
1000 case llvm::MachO::CPU_TYPE_I386: in getArch()
1002 case llvm::MachO::CPU_TYPE_X86_64: in getArch()
1004 case llvm::MachO::CPU_TYPE_ARM: in getArch()
1006 case llvm::MachO::CPU_TYPE_ARM64: in getArch()
1008 case llvm::MachO::CPU_TYPE_POWERPC: in getArch()
1010 case llvm::MachO::CPU_TYPE_POWERPC64: in getArch()
1023 case MachO::CPU_TYPE_I386: in getArch()
1024 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArch()
1025 case MachO::CPU_SUBTYPE_I386_ALL: in getArch()
1030 case MachO::CPU_TYPE_X86_64: in getArch()
1031 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArch()
1032 case MachO::CPU_SUBTYPE_X86_64_ALL: in getArch()
1034 case MachO::CPU_SUBTYPE_X86_64_H: in getArch()
1039 case MachO::CPU_TYPE_ARM: in getArch()
1040 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArch()
1041 case MachO::CPU_SUBTYPE_ARM_V4T: in getArch()
1043 case MachO::CPU_SUBTYPE_ARM_V5TEJ: in getArch()
1045 case MachO::CPU_SUBTYPE_ARM_XSCALE: in getArch()
1047 case MachO::CPU_SUBTYPE_ARM_V6: in getArch()
1049 case MachO::CPU_SUBTYPE_ARM_V6M: in getArch()
1053 case MachO::CPU_SUBTYPE_ARM_V7: in getArch()
1055 case MachO::CPU_SUBTYPE_ARM_V7EM: in getArch()
1059 case MachO::CPU_SUBTYPE_ARM_V7K: in getArch()
1061 case MachO::CPU_SUBTYPE_ARM_V7M: in getArch()
1065 case MachO::CPU_SUBTYPE_ARM_V7S: in getArch()
1070 case MachO::CPU_TYPE_ARM64: in getArch()
1071 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArch()
1072 case MachO::CPU_SUBTYPE_ARM64_ALL: in getArch()
1077 case MachO::CPU_TYPE_POWERPC: in getArch()
1078 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArch()
1079 case MachO::CPU_SUBTYPE_POWERPC_ALL: in getArch()
1084 case MachO::CPU_TYPE_POWERPC64: in getArch()
1085 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArch()
1086 case MachO::CPU_SUBTYPE_POWERPC_ALL: in getArch()
1102 case MachO::CPU_TYPE_ARM: in getThumbArch()
1103 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getThumbArch()
1104 case MachO::CPU_SUBTYPE_ARM_V4T: in getThumbArch()
1106 case MachO::CPU_SUBTYPE_ARM_V5TEJ: in getThumbArch()
1108 case MachO::CPU_SUBTYPE_ARM_XSCALE: in getThumbArch()
1110 case MachO::CPU_SUBTYPE_ARM_V6: in getThumbArch()
1112 case MachO::CPU_SUBTYPE_ARM_V6M: in getThumbArch()
1116 case MachO::CPU_SUBTYPE_ARM_V7: in getThumbArch()
1118 case MachO::CPU_SUBTYPE_ARM_V7EM: in getThumbArch()
1122 case MachO::CPU_SUBTYPE_ARM_V7K: in getThumbArch()
1124 case MachO::CPU_SUBTYPE_ARM_V7M: in getThumbArch()
1128 case MachO::CPU_SUBTYPE_ARM_V7S: in getThumbArch()
1199 MachO::linkedit_data_command DicLC = getDataInCodeLoadCommand(); in begin_dices()
1209 MachO::linkedit_data_command DicLC = getDataInCodeLoadCommand(); in end_dices()
1298 if (State.Flags & MachO::EXPORT_SYMBOL_FLAGS_REEXPORT) { in pushNode()
1304 if (State.Flags & MachO::EXPORT_SYMBOL_FLAGS_STUB_AND_RESOLVER) in pushNode()
1426 uint8_t ImmValue = Byte & MachO::REBASE_IMMEDIATE_MASK; in moveNext()
1427 uint8_t Opcode = Byte & MachO::REBASE_OPCODE_MASK; in moveNext()
1429 case MachO::REBASE_OPCODE_DONE: in moveNext()
1435 case MachO::REBASE_OPCODE_SET_TYPE_IMM: in moveNext()
1442 case MachO::REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB: in moveNext()
1452 case MachO::REBASE_OPCODE_ADD_ADDR_ULEB: in moveNext()
1459 case MachO::REBASE_OPCODE_ADD_ADDR_IMM_SCALED: in moveNext()
1466 case MachO::REBASE_OPCODE_DO_REBASE_IMM_TIMES: in moveNext()
1477 case MachO::REBASE_OPCODE_DO_REBASE_ULEB_TIMES: in moveNext()
1488 case MachO::REBASE_OPCODE_DO_REBASE_ADD_ADDR_ULEB: in moveNext()
1499 case MachO::REBASE_OPCODE_DO_REBASE_ULEB_TIMES_SKIPPING_ULEB: in moveNext()
1533 case MachO::REBASE_TYPE_POINTER: in typeName()
1535 case MachO::REBASE_TYPE_TEXT_ABSOLUTE32: in typeName()
1537 case MachO::REBASE_TYPE_TEXT_PCREL32: in typeName()
1600 uint8_t ImmValue = Byte & MachO::BIND_IMMEDIATE_MASK; in moveNext()
1601 uint8_t Opcode = Byte & MachO::BIND_OPCODE_MASK; in moveNext()
1605 case MachO::BIND_OPCODE_DONE: in moveNext()
1623 case MachO::BIND_OPCODE_SET_DYLIB_ORDINAL_IMM: in moveNext()
1630 case MachO::BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB: in moveNext()
1637 case MachO::BIND_OPCODE_SET_DYLIB_SPECIAL_IMM: in moveNext()
1639 SignExtended = MachO::BIND_OPCODE_MASK | ImmValue; in moveNext()
1648 case MachO::BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM: in moveNext()
1662 if (ImmValue & MachO::BIND_SYMBOL_FLAGS_NON_WEAK_DEFINITION) in moveNext()
1666 case MachO::BIND_OPCODE_SET_TYPE_IMM: in moveNext()
1673 case MachO::BIND_OPCODE_SET_ADDEND_SLEB: in moveNext()
1682 case MachO::BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB: in moveNext()
1692 case MachO::BIND_OPCODE_ADD_ADDR_ULEB: in moveNext()
1699 case MachO::BIND_OPCODE_DO_BIND: in moveNext()
1707 case MachO::BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB: in moveNext()
1720 case MachO::BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED: in moveNext()
1731 case MachO::BIND_OPCODE_DO_BIND_ULEB_TIMES_SKIPPING_ULEB: in moveNext()
1779 case MachO::BIND_TYPE_POINTER: in typeName()
1781 case MachO::BIND_TYPE_TEXT_ABSOLUTE32: in typeName()
1783 case MachO::BIND_TYPE_TEXT_PCREL32: in typeName()
1871 MachOObjectFile::isRelocationScattered(const MachO::any_relocation_info &RE) in isRelocationScattered()
1873 if (getCPUType(this) == MachO::CPU_TYPE_X86_64) in isRelocationScattered()
1875 return getPlainRelocationAddress(RE) & MachO::R_SCATTERED; in isRelocationScattered()
1879 const MachO::any_relocation_info &RE) const { in getPlainRelocationSymbolNum()
1886 const MachO::any_relocation_info &RE) const { in getPlainRelocationExternal()
1893 const MachO::any_relocation_info &RE) const { in getScatteredRelocationScattered()
1898 const MachO::any_relocation_info &RE) const { in getScatteredRelocationValue()
1903 const MachO::any_relocation_info &RE) const { in getScatteredRelocationType()
1908 const MachO::any_relocation_info &RE) const { in getAnyRelocationAddress()
1915 const MachO::any_relocation_info &RE) const { in getAnyRelocationPCRel()
1922 const MachO::any_relocation_info &RE) const { in getAnyRelocationLength()
1930 const MachO::any_relocation_info &RE) const { in getAnyRelocationType()
1938 const MachO::any_relocation_info &RE) const { in getAnyRelocationSection()
1942 if (SecNum == MachO::R_ABS || SecNum > Sections.size()) in getAnyRelocationSection()
1949 MachO::section MachOObjectFile::getSection(DataRefImpl DRI) const { in getSection()
1951 return getStruct<MachO::section>(this, Sections[DRI.d.a]); in getSection()
1954 MachO::section_64 MachOObjectFile::getSection64(DataRefImpl DRI) const { in getSection64()
1956 return getStruct<MachO::section_64>(this, Sections[DRI.d.a]); in getSection64()
1959 MachO::section MachOObjectFile::getSection(const LoadCommandInfo &L, in getSection()
1962 return getStruct<MachO::section>(this, Sec); in getSection()
1965 MachO::section_64 MachOObjectFile::getSection64(const LoadCommandInfo &L, in getSection64()
1968 return getStruct<MachO::section_64>(this, Sec); in getSection64()
1971 MachO::nlist
1974 return getStruct<MachO::nlist>(this, P); in getSymbolTableEntry()
1977 MachO::nlist_64
1980 return getStruct<MachO::nlist_64>(this, P); in getSymbol64TableEntry()
1983 MachO::linkedit_data_command
1985 return getStruct<MachO::linkedit_data_command>(this, L.Ptr); in getLinkeditDataLoadCommand()
1988 MachO::segment_command
1990 return getStruct<MachO::segment_command>(this, L.Ptr); in getSegmentLoadCommand()
1993 MachO::segment_command_64
1995 return getStruct<MachO::segment_command_64>(this, L.Ptr); in getSegment64LoadCommand()
1998 MachO::linker_option_command
2000 return getStruct<MachO::linker_option_command>(this, L.Ptr); in getLinkerOptionLoadCommand()
2003 MachO::version_min_command
2005 return getStruct<MachO::version_min_command>(this, L.Ptr); in getVersionMinLoadCommand()
2008 MachO::dylib_command
2010 return getStruct<MachO::dylib_command>(this, L.Ptr); in getDylibIDLoadCommand()
2013 MachO::dyld_info_command
2015 return getStruct<MachO::dyld_info_command>(this, L.Ptr); in getDyldInfoLoadCommand()
2018 MachO::dylinker_command
2020 return getStruct<MachO::dylinker_command>(this, L.Ptr); in getDylinkerCommand()
2023 MachO::uuid_command
2025 return getStruct<MachO::uuid_command>(this, L.Ptr); in getUuidCommand()
2028 MachO::rpath_command
2030 return getStruct<MachO::rpath_command>(this, L.Ptr); in getRpathCommand()
2033 MachO::source_version_command
2035 return getStruct<MachO::source_version_command>(this, L.Ptr); in getSourceVersionCommand()
2038 MachO::entry_point_command
2040 return getStruct<MachO::entry_point_command>(this, L.Ptr); in getEntryPointCommand()
2043 MachO::encryption_info_command
2045 return getStruct<MachO::encryption_info_command>(this, L.Ptr); in getEncryptionInfoCommand()
2048 MachO::encryption_info_command_64
2050 return getStruct<MachO::encryption_info_command_64>(this, L.Ptr); in getEncryptionInfoCommand64()
2053 MachO::sub_framework_command
2055 return getStruct<MachO::sub_framework_command>(this, L.Ptr); in getSubFrameworkCommand()
2058 MachO::sub_umbrella_command
2060 return getStruct<MachO::sub_umbrella_command>(this, L.Ptr); in getSubUmbrellaCommand()
2063 MachO::sub_library_command
2065 return getStruct<MachO::sub_library_command>(this, L.Ptr); in getSubLibraryCommand()
2068 MachO::sub_client_command
2070 return getStruct<MachO::sub_client_command>(this, L.Ptr); in getSubClientCommand()
2073 MachO::routines_command
2075 return getStruct<MachO::routines_command>(this, L.Ptr); in getRoutinesCommand()
2078 MachO::routines_command_64
2080 return getStruct<MachO::routines_command_64>(this, L.Ptr); in getRoutinesCommand64()
2083 MachO::thread_command
2085 return getStruct<MachO::thread_command>(this, L.Ptr); in getThreadCommand()
2088 MachO::any_relocation_info
2094 MachO::section_64 Sect = getSection64(Sec); in getRelocation()
2097 MachO::section Sect = getSection(Sec); in getRelocation()
2101 auto P = reinterpret_cast<const MachO::any_relocation_info *>( in getRelocation()
2103 return getStruct<MachO::any_relocation_info>( in getRelocation()
2107 MachO::data_in_code_entry
2110 return getStruct<MachO::data_in_code_entry>(this, P); in getDice()
2113 const MachO::mach_header &MachOObjectFile::getHeader() const { in getHeader()
2117 const MachO::mach_header_64 &MachOObjectFile::getHeader64() const { in getHeader64()
2123 const MachO::dysymtab_command &DLC, in getIndirectSymbolTableEntry()
2129 MachO::data_in_code_entry
2132 uint64_t Offset = DataOffset + Index * sizeof(MachO::data_in_code_entry); in getDataInCodeTableEntry()
2133 return getStruct<MachO::data_in_code_entry>(this, getPtr(this, Offset)); in getDataInCodeTableEntry()
2136 MachO::symtab_command MachOObjectFile::getSymtabLoadCommand() const { in getSymtabLoadCommand()
2138 return getStruct<MachO::symtab_command>(this, SymtabLoadCmd); in getSymtabLoadCommand()
2141 MachO::symtab_command Cmd; in getSymtabLoadCommand()
2142 Cmd.cmd = MachO::LC_SYMTAB; in getSymtabLoadCommand()
2143 Cmd.cmdsize = sizeof(MachO::symtab_command); in getSymtabLoadCommand()
2151 MachO::dysymtab_command MachOObjectFile::getDysymtabLoadCommand() const { in getDysymtabLoadCommand()
2153 return getStruct<MachO::dysymtab_command>(this, DysymtabLoadCmd); in getDysymtabLoadCommand()
2156 MachO::dysymtab_command Cmd; in getDysymtabLoadCommand()
2157 Cmd.cmd = MachO::LC_DYSYMTAB; in getDysymtabLoadCommand()
2158 Cmd.cmdsize = sizeof(MachO::dysymtab_command); in getDysymtabLoadCommand()
2180 MachO::linkedit_data_command
2183 return getStruct<MachO::linkedit_data_command>(this, DataInCodeLoadCmd); in getDataInCodeLoadCommand()
2186 MachO::linkedit_data_command Cmd; in getDataInCodeLoadCommand()
2187 Cmd.cmd = MachO::LC_DATA_IN_CODE; in getDataInCodeLoadCommand()
2188 Cmd.cmdsize = sizeof(MachO::linkedit_data_command); in getDataInCodeLoadCommand()
2194 MachO::linkedit_data_command
2197 return getStruct<MachO::linkedit_data_command>(this, LinkOptHintsLoadCmd); in getLinkOptHintsLoadCommand()
2201 MachO::linkedit_data_command Cmd; in getLinkOptHintsLoadCommand()
2202 Cmd.cmd = MachO::LC_LINKER_OPTIMIZATION_HINT; in getLinkOptHintsLoadCommand()
2203 Cmd.cmdsize = sizeof(MachO::linkedit_data_command); in getLinkOptHintsLoadCommand()
2213 MachO::dyld_info_command DyldInfo in getDyldInfoRebaseOpcodes()
2214 = getStruct<MachO::dyld_info_command>(this, DyldInfoLoadCmd); in getDyldInfoRebaseOpcodes()
2224 MachO::dyld_info_command DyldInfo in getDyldInfoBindOpcodes()
2225 = getStruct<MachO::dyld_info_command>(this, DyldInfoLoadCmd); in getDyldInfoBindOpcodes()
2235 MachO::dyld_info_command DyldInfo in getDyldInfoWeakBindOpcodes()
2236 = getStruct<MachO::dyld_info_command>(this, DyldInfoLoadCmd); in getDyldInfoWeakBindOpcodes()
2246 MachO::dyld_info_command DyldInfo in getDyldInfoLazyBindOpcodes()
2247 = getStruct<MachO::dyld_info_command>(this, DyldInfoLoadCmd); in getDyldInfoLazyBindOpcodes()
2257 MachO::dyld_info_command DyldInfo in getDyldInfoExportsTrie()
2258 = getStruct<MachO::dyld_info_command>(this, DyldInfoLoadCmd); in getDyldInfoExportsTrie()
2268 const char *Ptr = UuidLoadCmd + offsetof(MachO::uuid_command, uuid); in getUuid()
2273 MachO::symtab_command S = getSymtabLoadCommand(); in getStringTableData()
2295 return getHeader().filetype == MachO::MH_OBJECT; in isRelocatableObject()