• Home
  • Raw
  • Download

Lines Matching refs:MachO

58     MachO::swapStruct(Cmd);  in getStruct()
71 MachO::swapStruct(Cmd); in getStructOrErr()
81 unsigned SegmentLoadSize = Is64 ? sizeof(MachO::segment_command_64) : in getSectionPtr()
82 sizeof(MachO::segment_command); in getSectionPtr()
83 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : in getSectionPtr()
84 sizeof(MachO::section); in getSectionPtr()
94 static MachO::nlist_base
97 return getStruct<MachO::nlist_base>(O, P); in getSymbolTableEntryBase()
120 getPlainRelocationAddress(const MachO::any_relocation_info &RE) { in getPlainRelocationAddress()
125 getScatteredRelocationAddress(const MachO::any_relocation_info &RE) { in getScatteredRelocationAddress()
130 const MachO::any_relocation_info &RE) { in getPlainRelocationPCRel()
138 const MachO::any_relocation_info &RE) { in getScatteredRelocationPCRel()
143 const MachO::any_relocation_info &RE) { in getPlainRelocationLength()
150 getScatteredRelocationLength(const MachO::any_relocation_info &RE) { in getScatteredRelocationLength()
155 const MachO::any_relocation_info &RE) { in getPlainRelocationType()
164 MachO::section_64 Sect = O->getSection64(Sec); in getSectionFlags()
167 MachO::section Sect = O->getSection(Sec); in getSectionFlags()
174 if (auto CmdOrErr = getStructOrErr<MachO::load_command>(Obj, Ptr)) { in getLoadCommandInfo()
185 unsigned HeaderSize = Obj->is64Bit() ? sizeof(MachO::mach_header_64) in getFirstLoadCommandInfo()
186 : sizeof(MachO::mach_header); in getFirstLoadCommandInfo()
196 unsigned HeaderSize = Obj->is64Bit() ? sizeof(MachO::mach_header_64) in getNextLoadCommandInfo()
197 : sizeof(MachO::mach_header); in getNextLoadCommandInfo()
234 Obj->is64Bit() ? sizeof(MachO::section_64) : sizeof(MachO::section); in parseSegmentLoadCommand()
274 BigSize = sizeof(MachO::mach_header_64); in MachOObjectFile()
277 BigSize = sizeof(MachO::mach_header); in MachOObjectFile()
305 if (getHeader().filetype != MachO::MH_CORE || in MachOObjectFile()
306 Load.C.cmd != MachO::LC_THREAD || Load.C.cmdsize % 4) { in MachOObjectFile()
320 if (Load.C.cmd == MachO::LC_SYMTAB) { in MachOObjectFile()
327 } else if (Load.C.cmd == MachO::LC_DYSYMTAB) { in MachOObjectFile()
334 } else if (Load.C.cmd == MachO::LC_DATA_IN_CODE) { in MachOObjectFile()
341 } else if (Load.C.cmd == MachO::LC_LINKER_OPTIMIZATION_HINT) { in MachOObjectFile()
348 } else if (Load.C.cmd == MachO::LC_DYLD_INFO || in MachOObjectFile()
349 Load.C.cmd == MachO::LC_DYLD_INFO_ONLY) { in MachOObjectFile()
356 } else if (Load.C.cmd == MachO::LC_UUID) { in MachOObjectFile()
363 } else if (Load.C.cmd == MachO::LC_SEGMENT_64) { in MachOObjectFile()
364 if ((Err = parseSegmentLoadCommand<MachO::segment_command_64>( in MachOObjectFile()
368 } else if (Load.C.cmd == MachO::LC_SEGMENT) { in MachOObjectFile()
369 if ((Err = parseSegmentLoadCommand<MachO::segment_command>( in MachOObjectFile()
372 } else if (Load.C.cmd == MachO::LC_LOAD_DYLIB || in MachOObjectFile()
373 Load.C.cmd == MachO::LC_LOAD_WEAK_DYLIB || in MachOObjectFile()
374 Load.C.cmd == MachO::LC_LAZY_LOAD_DYLIB || in MachOObjectFile()
375 Load.C.cmd == MachO::LC_REEXPORT_DYLIB || in MachOObjectFile()
376 Load.C.cmd == MachO::LC_LOAD_UPWARD_DYLIB) { in MachOObjectFile()
395 MachO::symtab_command Symtab = in MachOObjectFile()
396 getStruct<MachO::symtab_command>(this, SymtabLoadCmd); in MachOObjectFile()
397 MachO::dysymtab_command Dysymtab = in MachOObjectFile()
398 getStruct<MachO::dysymtab_command>(this, DysymtabLoadCmd); in MachOObjectFile()
444 sizeof(MachO::nlist_64) : in moveSymbolNext()
445 sizeof(MachO::nlist); in moveSymbolNext()
451 MachO::nlist_base Entry = getSymbolTableEntryBase(this, Symb); in getSymbolName()
463 return Flags & MachO::SECTION_TYPE; in getSectionType()
468 MachO::nlist_64 Entry = getSymbol64TableEntry(Sym); in getNValue()
471 MachO::nlist Entry = getSymbolTableEntry(Sym); in getNValue()
480 MachO::nlist_base Entry = getSymbolTableEntryBase(this, Symb); in getIndirectName()
481 if ((Entry.n_type & MachO::N_TYPE) != MachO::N_INDR) in getIndirectName()
502 MachO::nlist_base Entry = getSymbolTableEntryBase(this, DRI); in getSymbolAlignment()
503 return 1 << MachO::GET_COMM_ALIGN(Entry.n_desc); in getSymbolAlignment()
514 MachO::nlist_base Entry = getSymbolTableEntryBase(this, Symb); in getSymbolType()
518 if (n_type & MachO::N_STAB) in getSymbolType()
521 switch (n_type & MachO::N_TYPE) { in getSymbolType()
522 case MachO::N_UNDF : in getSymbolType()
524 case MachO::N_SECT : in getSymbolType()
537 MachO::nlist_base Entry = getSymbolTableEntryBase(this, DRI); in getSymbolFlags()
544 if ((MachOType & MachO::N_TYPE) == MachO::N_INDR) in getSymbolFlags()
547 if (MachOType & MachO::N_STAB) in getSymbolFlags()
550 if (MachOType & MachO::N_EXT) { in getSymbolFlags()
552 if ((MachOType & MachO::N_TYPE) == MachO::N_UNDF) { in getSymbolFlags()
559 if (!(MachOType & MachO::N_PEXT)) in getSymbolFlags()
563 if (MachOFlags & (MachO::N_WEAK_REF | MachO::N_WEAK_DEF)) in getSymbolFlags()
566 if (MachOFlags & (MachO::N_ARM_THUMB_DEF)) in getSymbolFlags()
569 if ((MachOType & MachO::N_TYPE) == MachO::N_ABS) in getSymbolFlags()
577 MachO::nlist_base Entry = getSymbolTableEntryBase(this, Symb); in getSymbolSection()
592 MachO::nlist_base Entry = in getSymbolSectionID()
623 MachO::section_64 Sect = getSection64(Sec); in getSectionSize()
626 SectType = Sect.flags & MachO::SECTION_TYPE; in getSectionSize()
628 MachO::section Sect = getSection(Sec); in getSectionSize()
631 SectType = Sect.flags & MachO::SECTION_TYPE; in getSectionSize()
633 if (SectType == MachO::S_ZEROFILL || SectType == MachO::S_GB_ZEROFILL) in getSectionSize()
649 MachO::section_64 Sect = getSection64(Sec); in getSectionContents()
653 MachO::section Sect = getSection(Sec); in getSectionContents()
665 MachO::section_64 Sect = getSection64(Sec); in getSectionAlignment()
668 MachO::section Sect = getSection(Sec); in getSectionAlignment()
681 return Flags & MachO::S_ATTR_PURE_INSTRUCTIONS; in isSectionText()
686 unsigned SectionType = Flags & MachO::SECTION_TYPE; in isSectionData()
687 return !(Flags & MachO::S_ATTR_PURE_INSTRUCTIONS) && in isSectionData()
688 !(SectionType == MachO::S_ZEROFILL || in isSectionData()
689 SectionType == MachO::S_GB_ZEROFILL); in isSectionData()
694 unsigned SectionType = Flags & MachO::SECTION_TYPE; in isSectionBSS()
695 return !(Flags & MachO::S_ATTR_PURE_INSTRUCTIONS) && in isSectionBSS()
696 (SectionType == MachO::S_ZEROFILL || in isSectionBSS()
697 SectionType == MachO::S_GB_ZEROFILL); in isSectionBSS()
728 MachO::section_64 Sect = getSection64(Sec); in section_rel_end()
731 MachO::section Sect = getSection(Sec); in section_rel_end()
746 assert(getHeader().filetype == MachO::MH_OBJECT && in getRelocationOffset()
748 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationOffset()
754 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationSymbol()
763 MachO::symtab_command S = getSymtabLoadCommand(); in getRelocationSymbol()
765 sizeof(MachO::nlist_64) : in getRelocationSymbol()
766 sizeof(MachO::nlist); in getRelocationSymbol()
779 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationType()
893 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationLength()
1053 MachO::dylib_command D = in getLibraryShortNameByIndex()
1054 getStruct<MachO::dylib_command>(this, Libraries[i]); in getLibraryShortNameByIndex()
1084 MachO::symtab_command Symtab = getSymtabLoadCommand(); in symbol_begin_impl()
1093 MachO::symtab_command Symtab = getSymtabLoadCommand(); in symbol_end_impl()
1098 sizeof(MachO::nlist_64) : in symbol_end_impl()
1099 sizeof(MachO::nlist); in symbol_end_impl()
1107 MachO::symtab_command Symtab = getSymtabLoadCommand(); in getSymbolByIndex()
1111 is64Bit() ? sizeof(MachO::nlist_64) : sizeof(MachO::nlist); in getSymbolByIndex()
1119 MachO::symtab_command Symtab = getSymtabLoadCommand(); in getSymbolIndex()
1123 is64Bit() ? sizeof(MachO::nlist_64) : sizeof(MachO::nlist); in getSymbolIndex()
1149 case llvm::MachO::CPU_TYPE_I386: in getFileFormatName()
1151 case llvm::MachO::CPU_TYPE_ARM: in getFileFormatName()
1153 case llvm::MachO::CPU_TYPE_POWERPC: in getFileFormatName()
1161 case llvm::MachO::CPU_TYPE_X86_64: in getFileFormatName()
1163 case llvm::MachO::CPU_TYPE_ARM64: in getFileFormatName()
1165 case llvm::MachO::CPU_TYPE_POWERPC64: in getFileFormatName()
1174 case llvm::MachO::CPU_TYPE_I386: in getArch()
1176 case llvm::MachO::CPU_TYPE_X86_64: in getArch()
1178 case llvm::MachO::CPU_TYPE_ARM: in getArch()
1180 case llvm::MachO::CPU_TYPE_ARM64: in getArch()
1182 case llvm::MachO::CPU_TYPE_POWERPC: in getArch()
1184 case llvm::MachO::CPU_TYPE_POWERPC64: in getArch()
1197 case MachO::CPU_TYPE_I386: in getArchTriple()
1198 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
1199 case MachO::CPU_SUBTYPE_I386_ALL: in getArchTriple()
1204 case MachO::CPU_TYPE_X86_64: in getArchTriple()
1205 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
1206 case MachO::CPU_SUBTYPE_X86_64_ALL: in getArchTriple()
1208 case MachO::CPU_SUBTYPE_X86_64_H: in getArchTriple()
1213 case MachO::CPU_TYPE_ARM: in getArchTriple()
1214 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
1215 case MachO::CPU_SUBTYPE_ARM_V4T: in getArchTriple()
1217 case MachO::CPU_SUBTYPE_ARM_V5TEJ: in getArchTriple()
1219 case MachO::CPU_SUBTYPE_ARM_XSCALE: in getArchTriple()
1221 case MachO::CPU_SUBTYPE_ARM_V6: in getArchTriple()
1223 case MachO::CPU_SUBTYPE_ARM_V6M: in getArchTriple()
1227 case MachO::CPU_SUBTYPE_ARM_V7: in getArchTriple()
1229 case MachO::CPU_SUBTYPE_ARM_V7EM: in getArchTriple()
1233 case MachO::CPU_SUBTYPE_ARM_V7K: in getArchTriple()
1235 case MachO::CPU_SUBTYPE_ARM_V7M: in getArchTriple()
1239 case MachO::CPU_SUBTYPE_ARM_V7S: in getArchTriple()
1244 case MachO::CPU_TYPE_ARM64: in getArchTriple()
1245 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
1246 case MachO::CPU_SUBTYPE_ARM64_ALL: in getArchTriple()
1251 case MachO::CPU_TYPE_POWERPC: in getArchTriple()
1252 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
1253 case MachO::CPU_SUBTYPE_POWERPC_ALL: in getArchTriple()
1258 case MachO::CPU_TYPE_POWERPC64: in getArchTriple()
1259 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
1260 case MachO::CPU_SUBTYPE_POWERPC_ALL: in getArchTriple()
1320 MachO::linkedit_data_command DicLC = getDataInCodeLoadCommand(); in begin_dices()
1330 MachO::linkedit_data_command DicLC = getDataInCodeLoadCommand(); in end_dices()
1418 if (State.Flags & MachO::EXPORT_SYMBOL_FLAGS_REEXPORT) { in pushNode()
1424 if (State.Flags & MachO::EXPORT_SYMBOL_FLAGS_STUB_AND_RESOLVER) in pushNode()
1544 uint8_t ImmValue = Byte & MachO::REBASE_IMMEDIATE_MASK; in moveNext()
1545 uint8_t Opcode = Byte & MachO::REBASE_OPCODE_MASK; in moveNext()
1547 case MachO::REBASE_OPCODE_DONE: in moveNext()
1553 case MachO::REBASE_OPCODE_SET_TYPE_IMM: in moveNext()
1560 case MachO::REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB: in moveNext()
1570 case MachO::REBASE_OPCODE_ADD_ADDR_ULEB: in moveNext()
1577 case MachO::REBASE_OPCODE_ADD_ADDR_IMM_SCALED: in moveNext()
1584 case MachO::REBASE_OPCODE_DO_REBASE_IMM_TIMES: in moveNext()
1595 case MachO::REBASE_OPCODE_DO_REBASE_ULEB_TIMES: in moveNext()
1606 case MachO::REBASE_OPCODE_DO_REBASE_ADD_ADDR_ULEB: in moveNext()
1617 case MachO::REBASE_OPCODE_DO_REBASE_ULEB_TIMES_SKIPPING_ULEB: in moveNext()
1651 case MachO::REBASE_TYPE_POINTER: in typeName()
1653 case MachO::REBASE_TYPE_TEXT_ABSOLUTE32: in typeName()
1655 case MachO::REBASE_TYPE_TEXT_PCREL32: in typeName()
1715 uint8_t ImmValue = Byte & MachO::BIND_IMMEDIATE_MASK; in moveNext()
1716 uint8_t Opcode = Byte & MachO::BIND_OPCODE_MASK; in moveNext()
1720 case MachO::BIND_OPCODE_DONE: in moveNext()
1738 case MachO::BIND_OPCODE_SET_DYLIB_ORDINAL_IMM: in moveNext()
1745 case MachO::BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB: in moveNext()
1752 case MachO::BIND_OPCODE_SET_DYLIB_SPECIAL_IMM: in moveNext()
1754 SignExtended = MachO::BIND_OPCODE_MASK | ImmValue; in moveNext()
1763 case MachO::BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM: in moveNext()
1777 if (ImmValue & MachO::BIND_SYMBOL_FLAGS_NON_WEAK_DEFINITION) in moveNext()
1781 case MachO::BIND_OPCODE_SET_TYPE_IMM: in moveNext()
1788 case MachO::BIND_OPCODE_SET_ADDEND_SLEB: in moveNext()
1797 case MachO::BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB: in moveNext()
1807 case MachO::BIND_OPCODE_ADD_ADDR_ULEB: in moveNext()
1814 case MachO::BIND_OPCODE_DO_BIND: in moveNext()
1822 case MachO::BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB: in moveNext()
1835 case MachO::BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED: in moveNext()
1846 case MachO::BIND_OPCODE_DO_BIND_ULEB_TIMES_SKIPPING_ULEB: in moveNext()
1893 case MachO::BIND_TYPE_POINTER: in typeName()
1895 case MachO::BIND_TYPE_TEXT_ABSOLUTE32: in typeName()
1897 case MachO::BIND_TYPE_TEXT_PCREL32: in typeName()
1983 MachOObjectFile::isRelocationScattered(const MachO::any_relocation_info &RE) in isRelocationScattered()
1985 if (getCPUType(this) == MachO::CPU_TYPE_X86_64) in isRelocationScattered()
1987 return getPlainRelocationAddress(RE) & MachO::R_SCATTERED; in isRelocationScattered()
1991 const MachO::any_relocation_info &RE) const { in getPlainRelocationSymbolNum()
1998 const MachO::any_relocation_info &RE) const { in getPlainRelocationExternal()
2005 const MachO::any_relocation_info &RE) const { in getScatteredRelocationScattered()
2010 const MachO::any_relocation_info &RE) const { in getScatteredRelocationValue()
2015 const MachO::any_relocation_info &RE) const { in getScatteredRelocationType()
2020 const MachO::any_relocation_info &RE) const { in getAnyRelocationAddress()
2027 const MachO::any_relocation_info &RE) const { in getAnyRelocationPCRel()
2034 const MachO::any_relocation_info &RE) const { in getAnyRelocationLength()
2042 const MachO::any_relocation_info &RE) const { in getAnyRelocationType()
2050 const MachO::any_relocation_info &RE) const { in getAnyRelocationSection()
2054 if (SecNum == MachO::R_ABS || SecNum > Sections.size()) in getAnyRelocationSection()
2061 MachO::section MachOObjectFile::getSection(DataRefImpl DRI) const { in getSection()
2063 return getStruct<MachO::section>(this, Sections[DRI.d.a]); in getSection()
2066 MachO::section_64 MachOObjectFile::getSection64(DataRefImpl DRI) const { in getSection64()
2068 return getStruct<MachO::section_64>(this, Sections[DRI.d.a]); in getSection64()
2071 MachO::section MachOObjectFile::getSection(const LoadCommandInfo &L, in getSection()
2074 return getStruct<MachO::section>(this, Sec); in getSection()
2077 MachO::section_64 MachOObjectFile::getSection64(const LoadCommandInfo &L, in getSection64()
2080 return getStruct<MachO::section_64>(this, Sec); in getSection64()
2083 MachO::nlist
2086 return getStruct<MachO::nlist>(this, P); in getSymbolTableEntry()
2089 MachO::nlist_64
2092 return getStruct<MachO::nlist_64>(this, P); in getSymbol64TableEntry()
2095 MachO::linkedit_data_command
2097 return getStruct<MachO::linkedit_data_command>(this, L.Ptr); in getLinkeditDataLoadCommand()
2100 MachO::segment_command
2102 return getStruct<MachO::segment_command>(this, L.Ptr); in getSegmentLoadCommand()
2105 MachO::segment_command_64
2107 return getStruct<MachO::segment_command_64>(this, L.Ptr); in getSegment64LoadCommand()
2110 MachO::linker_option_command
2112 return getStruct<MachO::linker_option_command>(this, L.Ptr); in getLinkerOptionLoadCommand()
2115 MachO::version_min_command
2117 return getStruct<MachO::version_min_command>(this, L.Ptr); in getVersionMinLoadCommand()
2120 MachO::dylib_command
2122 return getStruct<MachO::dylib_command>(this, L.Ptr); in getDylibIDLoadCommand()
2125 MachO::dyld_info_command
2127 return getStruct<MachO::dyld_info_command>(this, L.Ptr); in getDyldInfoLoadCommand()
2130 MachO::dylinker_command
2132 return getStruct<MachO::dylinker_command>(this, L.Ptr); in getDylinkerCommand()
2135 MachO::uuid_command
2137 return getStruct<MachO::uuid_command>(this, L.Ptr); in getUuidCommand()
2140 MachO::rpath_command
2142 return getStruct<MachO::rpath_command>(this, L.Ptr); in getRpathCommand()
2145 MachO::source_version_command
2147 return getStruct<MachO::source_version_command>(this, L.Ptr); in getSourceVersionCommand()
2150 MachO::entry_point_command
2152 return getStruct<MachO::entry_point_command>(this, L.Ptr); in getEntryPointCommand()
2155 MachO::encryption_info_command
2157 return getStruct<MachO::encryption_info_command>(this, L.Ptr); in getEncryptionInfoCommand()
2160 MachO::encryption_info_command_64
2162 return getStruct<MachO::encryption_info_command_64>(this, L.Ptr); in getEncryptionInfoCommand64()
2165 MachO::sub_framework_command
2167 return getStruct<MachO::sub_framework_command>(this, L.Ptr); in getSubFrameworkCommand()
2170 MachO::sub_umbrella_command
2172 return getStruct<MachO::sub_umbrella_command>(this, L.Ptr); in getSubUmbrellaCommand()
2175 MachO::sub_library_command
2177 return getStruct<MachO::sub_library_command>(this, L.Ptr); in getSubLibraryCommand()
2180 MachO::sub_client_command
2182 return getStruct<MachO::sub_client_command>(this, L.Ptr); in getSubClientCommand()
2185 MachO::routines_command
2187 return getStruct<MachO::routines_command>(this, L.Ptr); in getRoutinesCommand()
2190 MachO::routines_command_64
2192 return getStruct<MachO::routines_command_64>(this, L.Ptr); in getRoutinesCommand64()
2195 MachO::thread_command
2197 return getStruct<MachO::thread_command>(this, L.Ptr); in getThreadCommand()
2200 MachO::any_relocation_info
2206 MachO::section_64 Sect = getSection64(Sec); in getRelocation()
2209 MachO::section Sect = getSection(Sec); in getRelocation()
2213 auto P = reinterpret_cast<const MachO::any_relocation_info *>( in getRelocation()
2215 return getStruct<MachO::any_relocation_info>( in getRelocation()
2219 MachO::data_in_code_entry
2222 return getStruct<MachO::data_in_code_entry>(this, P); in getDice()
2225 const MachO::mach_header &MachOObjectFile::getHeader() const { in getHeader()
2229 const MachO::mach_header_64 &MachOObjectFile::getHeader64() const { in getHeader64()
2235 const MachO::dysymtab_command &DLC, in getIndirectSymbolTableEntry()
2241 MachO::data_in_code_entry
2244 uint64_t Offset = DataOffset + Index * sizeof(MachO::data_in_code_entry); in getDataInCodeTableEntry()
2245 return getStruct<MachO::data_in_code_entry>(this, getPtr(this, Offset)); in getDataInCodeTableEntry()
2248 MachO::symtab_command MachOObjectFile::getSymtabLoadCommand() const { in getSymtabLoadCommand()
2250 return getStruct<MachO::symtab_command>(this, SymtabLoadCmd); in getSymtabLoadCommand()
2253 MachO::symtab_command Cmd; in getSymtabLoadCommand()
2254 Cmd.cmd = MachO::LC_SYMTAB; in getSymtabLoadCommand()
2255 Cmd.cmdsize = sizeof(MachO::symtab_command); in getSymtabLoadCommand()
2263 MachO::dysymtab_command MachOObjectFile::getDysymtabLoadCommand() const { in getDysymtabLoadCommand()
2265 return getStruct<MachO::dysymtab_command>(this, DysymtabLoadCmd); in getDysymtabLoadCommand()
2268 MachO::dysymtab_command Cmd; in getDysymtabLoadCommand()
2269 Cmd.cmd = MachO::LC_DYSYMTAB; in getDysymtabLoadCommand()
2270 Cmd.cmdsize = sizeof(MachO::dysymtab_command); in getDysymtabLoadCommand()
2292 MachO::linkedit_data_command
2295 return getStruct<MachO::linkedit_data_command>(this, DataInCodeLoadCmd); in getDataInCodeLoadCommand()
2298 MachO::linkedit_data_command Cmd; in getDataInCodeLoadCommand()
2299 Cmd.cmd = MachO::LC_DATA_IN_CODE; in getDataInCodeLoadCommand()
2300 Cmd.cmdsize = sizeof(MachO::linkedit_data_command); in getDataInCodeLoadCommand()
2306 MachO::linkedit_data_command
2309 return getStruct<MachO::linkedit_data_command>(this, LinkOptHintsLoadCmd); in getLinkOptHintsLoadCommand()
2313 MachO::linkedit_data_command Cmd; in getLinkOptHintsLoadCommand()
2314 Cmd.cmd = MachO::LC_LINKER_OPTIMIZATION_HINT; in getLinkOptHintsLoadCommand()
2315 Cmd.cmdsize = sizeof(MachO::linkedit_data_command); in getLinkOptHintsLoadCommand()
2325 MachO::dyld_info_command DyldInfo = in getDyldInfoRebaseOpcodes()
2326 getStruct<MachO::dyld_info_command>(this, DyldInfoLoadCmd); in getDyldInfoRebaseOpcodes()
2336 MachO::dyld_info_command DyldInfo = in getDyldInfoBindOpcodes()
2337 getStruct<MachO::dyld_info_command>(this, DyldInfoLoadCmd); in getDyldInfoBindOpcodes()
2347 MachO::dyld_info_command DyldInfo = in getDyldInfoWeakBindOpcodes()
2348 getStruct<MachO::dyld_info_command>(this, DyldInfoLoadCmd); in getDyldInfoWeakBindOpcodes()
2358 MachO::dyld_info_command DyldInfo = in getDyldInfoLazyBindOpcodes()
2359 getStruct<MachO::dyld_info_command>(this, DyldInfoLoadCmd); in getDyldInfoLazyBindOpcodes()
2369 MachO::dyld_info_command DyldInfo = in getDyldInfoExportsTrie()
2370 getStruct<MachO::dyld_info_command>(this, DyldInfoLoadCmd); in getDyldInfoExportsTrie()
2380 const char *Ptr = UuidLoadCmd + offsetof(MachO::uuid_command, uuid); in getUuid()
2385 MachO::symtab_command S = getSymtabLoadCommand(); in getStringTableData()
2407 return getHeader().filetype == MachO::MH_OBJECT; in isRelocatableObject()