• Home
  • Raw
  • Download

Lines Matching refs:MachOObjectFile

43 static T getStruct(const MachOObjectFile *O, const char *P) {  in getStruct()
56 static ErrorOr<T> getStructOrErr(const MachOObjectFile *O, const char *P) { in getStructOrErr()
69 getSectionPtr(const MachOObjectFile *O, MachOObjectFile::LoadCommandInfo L, in getSectionPtr()
83 static const char *getPtr(const MachOObjectFile *O, size_t Offset) { in getPtr()
88 getSymbolTableEntryBase(const MachOObjectFile *O, DataRefImpl DRI) { in getSymbolTableEntryBase()
108 static unsigned getCPUType(const MachOObjectFile *O) { in getCPUType()
122 static bool getPlainRelocationPCRel(const MachOObjectFile *O, in getPlainRelocationPCRel()
130 getScatteredRelocationPCRel(const MachOObjectFile *O, in getScatteredRelocationPCRel()
135 static unsigned getPlainRelocationLength(const MachOObjectFile *O, in getPlainRelocationLength()
147 static unsigned getPlainRelocationType(const MachOObjectFile *O, in getPlainRelocationType()
154 static uint32_t getSectionFlags(const MachOObjectFile *O, in getSectionFlags()
164 static ErrorOr<MachOObjectFile::LoadCommandInfo>
165 getLoadCommandInfo(const MachOObjectFile *Obj, const char *Ptr) { in getLoadCommandInfo()
171 MachOObjectFile::LoadCommandInfo Load; in getLoadCommandInfo()
177 static ErrorOr<MachOObjectFile::LoadCommandInfo>
178 getFirstLoadCommandInfo(const MachOObjectFile *Obj) { in getFirstLoadCommandInfo()
184 static ErrorOr<MachOObjectFile::LoadCommandInfo>
185 getNextLoadCommandInfo(const MachOObjectFile *Obj, in getNextLoadCommandInfo()
186 const MachOObjectFile::LoadCommandInfo &L) { in getNextLoadCommandInfo()
191 static void parseHeader(const MachOObjectFile *Obj, T &Header, in parseHeader()
205 const MachOObjectFile *Obj, const MachOObjectFile::LoadCommandInfo &Load, in parseSegmentLoadCommand()
227 MachOObjectFile::MachOObjectFile(MemoryBufferRef Object, bool IsLittleEndian, in MachOObjectFile() function in MachOObjectFile
323 void MachOObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
330 ErrorOr<StringRef> MachOObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName()
340 unsigned MachOObjectFile::getSectionType(SectionRef Sec) const { in getSectionType()
346 uint64_t MachOObjectFile::getNValue(DataRefImpl Sym) const { in getNValue()
357 std::error_code MachOObjectFile::getIndirectName(DataRefImpl Symb, in getIndirectName()
371 uint64_t MachOObjectFile::getSymbolValueImpl(DataRefImpl Sym) const { in getSymbolValueImpl()
375 ErrorOr<uint64_t> MachOObjectFile::getSymbolAddress(DataRefImpl Sym) const { in getSymbolAddress()
379 uint32_t MachOObjectFile::getSymbolAlignment(DataRefImpl DRI) const { in getSymbolAlignment()
388 uint64_t MachOObjectFile::getCommonSymbolSizeImpl(DataRefImpl DRI) const { in getCommonSymbolSizeImpl()
392 SymbolRef::Type MachOObjectFile::getSymbolType(DataRefImpl Symb) const { in getSymbolType()
412 uint32_t MachOObjectFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
452 MachOObjectFile::getSymbolSection(DataRefImpl Symb) const { in getSymbolSection()
465 unsigned MachOObjectFile::getSymbolSectionID(SymbolRef Sym) const { in getSymbolSectionID()
471 void MachOObjectFile::moveSectionNext(DataRefImpl &Sec) const { in moveSectionNext()
475 std::error_code MachOObjectFile::getSectionName(DataRefImpl Sec, in getSectionName()
482 uint64_t MachOObjectFile::getSectionAddress(DataRefImpl Sec) const { in getSectionAddress()
488 uint64_t MachOObjectFile::getSectionSize(DataRefImpl Sec) const { in getSectionSize()
517 std::error_code MachOObjectFile::getSectionContents(DataRefImpl Sec, in getSectionContents()
536 uint64_t MachOObjectFile::getSectionAlignment(DataRefImpl Sec) const { in getSectionAlignment()
549 bool MachOObjectFile::isSectionText(DataRefImpl Sec) const { in isSectionText()
554 bool MachOObjectFile::isSectionData(DataRefImpl Sec) const { in isSectionData()
562 bool MachOObjectFile::isSectionBSS(DataRefImpl Sec) const { in isSectionBSS()
570 unsigned MachOObjectFile::getSectionID(SectionRef Sec) const { in getSectionID()
574 bool MachOObjectFile::isSectionVirtual(DataRefImpl Sec) const { in isSectionVirtual()
579 relocation_iterator MachOObjectFile::section_rel_begin(DataRefImpl Sec) const { in section_rel_begin()
587 MachOObjectFile::section_rel_end(DataRefImpl Sec) const { in section_rel_end()
603 void MachOObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext()
607 uint64_t MachOObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset()
615 MachOObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol()
636 MachOObjectFile::getRelocationSection(DataRefImpl Rel) const { in getRelocationSection()
640 uint64_t MachOObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType()
645 void MachOObjectFile::getRelocationTypeName( in getRelocationTypeName()
754 uint8_t MachOObjectFile::getRelocationLength(DataRefImpl Rel) const { in getRelocationLength()
787 StringRef MachOObjectFile::guessLibraryShortName(StringRef Name, in guessLibraryShortName()
906 std::error_code MachOObjectFile::getLibraryShortNameByIndex(unsigned Index, in getLibraryShortNameByIndex()
938 MachOObjectFile::getRelocationRelocatedSection(relocation_iterator Rel) const { in getRelocationRelocatedSection()
944 basic_symbol_iterator MachOObjectFile::symbol_begin_impl() const { in symbol_begin_impl()
948 basic_symbol_iterator MachOObjectFile::symbol_end_impl() const { in symbol_end_impl()
963 basic_symbol_iterator MachOObjectFile::getSymbolByIndex(unsigned Index) const { in getSymbolByIndex()
978 section_iterator MachOObjectFile::section_begin() const { in section_begin()
983 section_iterator MachOObjectFile::section_end() const { in section_end()
989 uint8_t MachOObjectFile::getBytesInAddress() const { in getBytesInAddress()
993 StringRef MachOObjectFile::getFileFormatName() const { in getFileFormatName()
1020 Triple::ArchType MachOObjectFile::getArch(uint32_t CPUType) { in getArch()
1039 Triple MachOObjectFile::getArch(uint32_t CPUType, uint32_t CPUSubType, in getArch()
1118 Triple MachOObjectFile::getThumbArch(uint32_t CPUType, uint32_t CPUSubType, in getThumbArch()
1160 Triple MachOObjectFile::getArch(uint32_t CPUType, uint32_t CPUSubType, in getArch()
1162 Triple T = MachOObjectFile::getArch(CPUType, CPUSubType, McpuDefault); in getArch()
1163 *ThumbTriple = MachOObjectFile::getThumbArch(CPUType, CPUSubType, in getArch()
1168 Triple MachOObjectFile::getHostArch() { in getHostArch()
1172 bool MachOObjectFile::isValidArch(StringRef ArchFlag) { in isValidArch()
1193 unsigned MachOObjectFile::getArch() const { in getArch()
1197 Triple MachOObjectFile::getArch(const char **McpuDefault, in getArch()
1203 relocation_iterator MachOObjectFile::section_rel_begin(unsigned Index) const { in section_rel_begin()
1209 relocation_iterator MachOObjectFile::section_rel_end(unsigned Index) const { in section_rel_end()
1215 dice_iterator MachOObjectFile::begin_dices() const { in begin_dices()
1225 dice_iterator MachOObjectFile::end_dices() const { in end_dices()
1396 MachOObjectFile::exports(ArrayRef<uint8_t> Trie) { in exports()
1409 iterator_range<export_iterator> MachOObjectFile::exports() const { in exports()
1569 MachOObjectFile::rebaseTable(ArrayRef<uint8_t> Opcodes, bool is64) { in rebaseTable()
1579 iterator_range<rebase_iterator> MachOObjectFile::rebaseTable() const { in rebaseTable()
1819 MachOObjectFile::bindTable(ArrayRef<uint8_t> Opcodes, bool is64, in bindTable()
1830 iterator_range<bind_iterator> MachOObjectFile::bindTable() const { in bindTable()
1835 iterator_range<bind_iterator> MachOObjectFile::lazyBindTable() const { in lazyBindTable()
1840 iterator_range<bind_iterator> MachOObjectFile::weakBindTable() const { in weakBindTable()
1845 MachOObjectFile::load_command_iterator
1846 MachOObjectFile::begin_load_commands() const { in begin_load_commands()
1850 MachOObjectFile::load_command_iterator
1851 MachOObjectFile::end_load_commands() const { in end_load_commands()
1855 iterator_range<MachOObjectFile::load_command_iterator>
1856 MachOObjectFile::load_commands() const { in load_commands()
1861 MachOObjectFile::getSectionFinalSegmentName(DataRefImpl Sec) const { in getSectionFinalSegmentName()
1867 MachOObjectFile::getSectionRawName(DataRefImpl Sec) const { in getSectionRawName()
1875 MachOObjectFile::getSectionRawFinalSegmentName(DataRefImpl Sec) const { in getSectionRawFinalSegmentName()
1883 MachOObjectFile::isRelocationScattered(const MachO::any_relocation_info &RE) in isRelocationScattered()
1890 unsigned MachOObjectFile::getPlainRelocationSymbolNum( in getPlainRelocationSymbolNum()
1897 bool MachOObjectFile::getPlainRelocationExternal( in getPlainRelocationExternal()
1904 bool MachOObjectFile::getScatteredRelocationScattered( in getScatteredRelocationScattered()
1909 uint32_t MachOObjectFile::getScatteredRelocationValue( in getScatteredRelocationValue()
1914 uint32_t MachOObjectFile::getScatteredRelocationType( in getScatteredRelocationType()
1919 unsigned MachOObjectFile::getAnyRelocationAddress( in getAnyRelocationAddress()
1926 unsigned MachOObjectFile::getAnyRelocationPCRel( in getAnyRelocationPCRel()
1933 unsigned MachOObjectFile::getAnyRelocationLength( in getAnyRelocationLength()
1941 MachOObjectFile::getAnyRelocationType( in getAnyRelocationType()
1949 MachOObjectFile::getAnyRelocationSection( in getAnyRelocationSection()
1961 MachO::section MachOObjectFile::getSection(DataRefImpl DRI) const { in getSection()
1966 MachO::section_64 MachOObjectFile::getSection64(DataRefImpl DRI) const { in getSection64()
1971 MachO::section MachOObjectFile::getSection(const LoadCommandInfo &L, in getSection()
1977 MachO::section_64 MachOObjectFile::getSection64(const LoadCommandInfo &L, in getSection64()
1984 MachOObjectFile::getSymbolTableEntry(DataRefImpl DRI) const { in getSymbolTableEntry()
1990 MachOObjectFile::getSymbol64TableEntry(DataRefImpl DRI) const { in getSymbol64TableEntry()
1996 MachOObjectFile::getLinkeditDataLoadCommand(const LoadCommandInfo &L) const { in getLinkeditDataLoadCommand()
2001 MachOObjectFile::getSegmentLoadCommand(const LoadCommandInfo &L) const { in getSegmentLoadCommand()
2006 MachOObjectFile::getSegment64LoadCommand(const LoadCommandInfo &L) const { in getSegment64LoadCommand()
2011 MachOObjectFile::getLinkerOptionLoadCommand(const LoadCommandInfo &L) const { in getLinkerOptionLoadCommand()
2016 MachOObjectFile::getVersionMinLoadCommand(const LoadCommandInfo &L) const { in getVersionMinLoadCommand()
2021 MachOObjectFile::getDylibIDLoadCommand(const LoadCommandInfo &L) const { in getDylibIDLoadCommand()
2026 MachOObjectFile::getDyldInfoLoadCommand(const LoadCommandInfo &L) const { in getDyldInfoLoadCommand()
2031 MachOObjectFile::getDylinkerCommand(const LoadCommandInfo &L) const { in getDylinkerCommand()
2036 MachOObjectFile::getUuidCommand(const LoadCommandInfo &L) const { in getUuidCommand()
2041 MachOObjectFile::getRpathCommand(const LoadCommandInfo &L) const { in getRpathCommand()
2046 MachOObjectFile::getSourceVersionCommand(const LoadCommandInfo &L) const { in getSourceVersionCommand()
2051 MachOObjectFile::getEntryPointCommand(const LoadCommandInfo &L) const { in getEntryPointCommand()
2056 MachOObjectFile::getEncryptionInfoCommand(const LoadCommandInfo &L) const { in getEncryptionInfoCommand()
2061 MachOObjectFile::getEncryptionInfoCommand64(const LoadCommandInfo &L) const { in getEncryptionInfoCommand64()
2066 MachOObjectFile::getSubFrameworkCommand(const LoadCommandInfo &L) const { in getSubFrameworkCommand()
2071 MachOObjectFile::getSubUmbrellaCommand(const LoadCommandInfo &L) const { in getSubUmbrellaCommand()
2076 MachOObjectFile::getSubLibraryCommand(const LoadCommandInfo &L) const { in getSubLibraryCommand()
2081 MachOObjectFile::getSubClientCommand(const LoadCommandInfo &L) const { in getSubClientCommand()
2086 MachOObjectFile::getRoutinesCommand(const LoadCommandInfo &L) const { in getRoutinesCommand()
2091 MachOObjectFile::getRoutinesCommand64(const LoadCommandInfo &L) const { in getRoutinesCommand64()
2096 MachOObjectFile::getThreadCommand(const LoadCommandInfo &L) const { in getThreadCommand()
2101 MachOObjectFile::getRelocation(DataRefImpl Rel) const { in getRelocation()
2120 MachOObjectFile::getDice(DataRefImpl Rel) const { in getDice()
2125 const MachO::mach_header &MachOObjectFile::getHeader() const { in getHeader()
2129 const MachO::mach_header_64 &MachOObjectFile::getHeader64() const { in getHeader64()
2134 uint32_t MachOObjectFile::getIndirectSymbolTableEntry( in getIndirectSymbolTableEntry()
2142 MachOObjectFile::getDataInCodeTableEntry(uint32_t DataOffset, in getDataInCodeTableEntry()
2148 MachO::symtab_command MachOObjectFile::getSymtabLoadCommand() const { in getSymtabLoadCommand()
2163 MachO::dysymtab_command MachOObjectFile::getDysymtabLoadCommand() const { in getDysymtabLoadCommand()
2193 MachOObjectFile::getDataInCodeLoadCommand() const { in getDataInCodeLoadCommand()
2207 MachOObjectFile::getLinkOptHintsLoadCommand() const { in getLinkOptHintsLoadCommand()
2221 ArrayRef<uint8_t> MachOObjectFile::getDyldInfoRebaseOpcodes() const { in getDyldInfoRebaseOpcodes()
2232 ArrayRef<uint8_t> MachOObjectFile::getDyldInfoBindOpcodes() const { in getDyldInfoBindOpcodes()
2243 ArrayRef<uint8_t> MachOObjectFile::getDyldInfoWeakBindOpcodes() const { in getDyldInfoWeakBindOpcodes()
2254 ArrayRef<uint8_t> MachOObjectFile::getDyldInfoLazyBindOpcodes() const { in getDyldInfoLazyBindOpcodes()
2265 ArrayRef<uint8_t> MachOObjectFile::getDyldInfoExportsTrie() const { in getDyldInfoExportsTrie()
2276 ArrayRef<uint8_t> MachOObjectFile::getUuid() const { in getUuid()
2284 StringRef MachOObjectFile::getStringTableData() const { in getStringTableData()
2289 bool MachOObjectFile::is64Bit() const { in is64Bit()
2294 void MachOObjectFile::ReadULEB128s(uint64_t Index, in ReadULEB128s()
2306 bool MachOObjectFile::isRelocatableObject() const { in isRelocatableObject()
2310 ErrorOr<std::unique_ptr<MachOObjectFile>>
2314 std::unique_ptr<MachOObjectFile> Ret; in createMachOObjectFile()
2316 Ret.reset(new MachOObjectFile(Buffer, false, false, EC)); in createMachOObjectFile()
2318 Ret.reset(new MachOObjectFile(Buffer, true, false, EC)); in createMachOObjectFile()
2320 Ret.reset(new MachOObjectFile(Buffer, false, true, EC)); in createMachOObjectFile()
2322 Ret.reset(new MachOObjectFile(Buffer, true, true, EC)); in createMachOObjectFile()