Lines Matching refs:COFFObjectFile

103 const coff_symbol_type *COFFObjectFile::toSymb(DataRefImpl Ref) const {  in toSymb()
119 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec()
135 void COFFObjectFile::moveSymbolNext(DataRefImpl &Ref) const { in moveSymbolNext()
150 Expected<StringRef> COFFObjectFile::getSymbolName(DataRefImpl Ref) const { in getSymbolName()
158 uint64_t COFFObjectFile::getSymbolValueImpl(DataRefImpl Ref) const { in getSymbolValueImpl()
162 uint32_t COFFObjectFile::getSymbolAlignment(DataRefImpl Ref) const { in getSymbolAlignment()
169 Expected<uint64_t> COFFObjectFile::getSymbolAddress(DataRefImpl Ref) const { in getSymbolAddress()
190 Expected<SymbolRef::Type> COFFObjectFile::getSymbolType(DataRefImpl Ref) const { in getSymbolType()
213 uint32_t COFFObjectFile::getSymbolFlags(DataRefImpl Ref) const { in getSymbolFlags()
244 uint64_t COFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Ref) const { in getCommonSymbolSizeImpl()
250 COFFObjectFile::getSymbolSection(DataRefImpl Ref) const { in getSymbolSection()
262 unsigned COFFObjectFile::getSymbolSectionID(SymbolRef Sym) const { in getSymbolSectionID()
267 void COFFObjectFile::moveSectionNext(DataRefImpl &Ref) const { in moveSectionNext()
273 std::error_code COFFObjectFile::getSectionName(DataRefImpl Ref, in getSectionName()
279 uint64_t COFFObjectFile::getSectionAddress(DataRefImpl Ref) const { in getSectionAddress()
289 uint64_t COFFObjectFile::getSectionIndex(DataRefImpl Sec) const { in getSectionIndex()
293 uint64_t COFFObjectFile::getSectionSize(DataRefImpl Ref) const { in getSectionSize()
297 std::error_code COFFObjectFile::getSectionContents(DataRefImpl Ref, in getSectionContents()
306 uint64_t COFFObjectFile::getSectionAlignment(DataRefImpl Ref) const { in getSectionAlignment()
311 bool COFFObjectFile::isSectionCompressed(DataRefImpl Sec) const { in isSectionCompressed()
315 bool COFFObjectFile::isSectionText(DataRefImpl Ref) const { in isSectionText()
320 bool COFFObjectFile::isSectionData(DataRefImpl Ref) const { in isSectionData()
325 bool COFFObjectFile::isSectionBSS(DataRefImpl Ref) const { in isSectionBSS()
333 unsigned COFFObjectFile::getSectionID(SectionRef Sec) const { in getSectionID()
340 bool COFFObjectFile::isSectionVirtual(DataRefImpl Ref) const { in isSectionVirtual()
382 relocation_iterator COFFObjectFile::section_rel_begin(DataRefImpl Ref) const { in section_rel_begin()
392 relocation_iterator COFFObjectFile::section_rel_end(DataRefImpl Ref) const { in section_rel_end()
403 std::error_code COFFObjectFile::initSymbolTablePtr() { in initSymbolTablePtr()
441 uint64_t COFFObjectFile::getImageBase() const { in getImageBase()
451 std::error_code COFFObjectFile::getVaPtr(uint64_t Addr, uintptr_t &Res) const { in getVaPtr()
459 std::error_code COFFObjectFile::getRvaPtr(uint32_t Addr, uintptr_t &Res) const { in getRvaPtr()
474 COFFObjectFile::getRvaAndSizeAsBytes(uint32_t RVA, uint32_t Size, in getRvaAndSizeAsBytes()
496 std::error_code COFFObjectFile::getHintName(uint32_t Rva, uint16_t &Hint, in getHintName()
508 COFFObjectFile::getDebugPDBInfo(const debug_directory *DebugDir, in getDebugPDBInfo()
527 COFFObjectFile::getDebugPDBInfo(const codeview::DebugInfo *&PDBInfo, in getDebugPDBInfo()
539 std::error_code COFFObjectFile::initImportTablePtr() { in initImportTablePtr()
565 std::error_code COFFObjectFile::initDelayImportTablePtr() { in initDelayImportTablePtr()
585 std::error_code COFFObjectFile::initExportTablePtr() { in initExportTablePtr()
605 std::error_code COFFObjectFile::initBaseRelocPtr() { in initBaseRelocPtr()
624 std::error_code COFFObjectFile::initDebugDirectoryPtr() { in initDebugDirectoryPtr()
649 std::error_code COFFObjectFile::initLoadConfigPtr() { in initLoadConfigPtr()
666 COFFObjectFile::COFFObjectFile(MemoryBufferRef Object, std::error_code &EC) in COFFObjectFile() function in COFFObjectFile
806 basic_symbol_iterator COFFObjectFile::symbol_begin() const { in symbol_begin()
812 basic_symbol_iterator COFFObjectFile::symbol_end() const { in symbol_end()
819 import_directory_iterator COFFObjectFile::import_directory_begin() const { in import_directory_begin()
828 import_directory_iterator COFFObjectFile::import_directory_end() const { in import_directory_end()
834 COFFObjectFile::delay_import_directory_begin() const { in delay_import_directory_begin()
840 COFFObjectFile::delay_import_directory_end() const { in delay_import_directory_end()
846 export_directory_iterator COFFObjectFile::export_directory_begin() const { in export_directory_begin()
851 export_directory_iterator COFFObjectFile::export_directory_end() const { in export_directory_end()
859 section_iterator COFFObjectFile::section_begin() const { in section_begin()
865 section_iterator COFFObjectFile::section_end() const { in section_end()
873 base_reloc_iterator COFFObjectFile::base_reloc_begin() const { in base_reloc_begin()
877 base_reloc_iterator COFFObjectFile::base_reloc_end() const { in base_reloc_end()
881 uint8_t COFFObjectFile::getBytesInAddress() const { in getBytesInAddress()
885 StringRef COFFObjectFile::getFileFormatName() const { in getFileFormatName()
900 Triple::ArchType COFFObjectFile::getArch() const { in getArch()
915 Expected<uint64_t> COFFObjectFile::getStartAddress() const { in getStartAddress()
922 COFFObjectFile::import_directories() const { in import_directories()
927 COFFObjectFile::delay_import_directories() const { in delay_import_directories()
933 COFFObjectFile::export_directories() const { in export_directories()
937 iterator_range<base_reloc_iterator> COFFObjectFile::base_relocs() const { in base_relocs()
942 COFFObjectFile::getCOFFHeader(const coff_file_header *&Res) const { in getCOFFHeader()
948 COFFObjectFile::getCOFFBigObjHeader(const coff_bigobj_file_header *&Res) const { in getCOFFBigObjHeader()
953 std::error_code COFFObjectFile::getPE32Header(const pe32_header *&Res) const { in getPE32Header()
959 COFFObjectFile::getPE32PlusHeader(const pe32plus_header *&Res) const { in getPE32PlusHeader()
965 COFFObjectFile::getDataDirectory(uint32_t Index, in getDataDirectory()
983 std::error_code COFFObjectFile::getSection(int32_t Index, in getSection()
996 std::error_code COFFObjectFile::getSection(StringRef SectionName, in getSection()
1011 std::error_code COFFObjectFile::getString(uint32_t Offset, in getString()
1022 std::error_code COFFObjectFile::getSymbolName(COFFSymbolRef Symbol, in getSymbolName()
1027 std::error_code COFFObjectFile::getSymbolName(const coff_symbol_generic *Symbol, in getSymbolName()
1046 COFFObjectFile::getSymbolAuxData(COFFSymbolRef Symbol) const { in getSymbolAuxData()
1068 uint32_t COFFObjectFile::getSymbolIndex(COFFSymbolRef Symbol) const { in getSymbolIndex()
1078 std::error_code COFFObjectFile::getSectionName(const coff_section *Sec, in getSectionName()
1106 uint64_t COFFObjectFile::getSectionSize(const coff_section *Sec) const { in getSectionSize()
1123 COFFObjectFile::getSectionContents(const coff_section *Sec, in getSectionContents()
1140 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const { in toRel()
1144 void COFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext()
1149 uint64_t COFFObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset()
1154 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol()
1168 uint64_t COFFObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType()
1174 COFFObjectFile::getCOFFSection(const SectionRef &Section) const { in getCOFFSection()
1178 COFFSymbolRef COFFObjectFile::getCOFFSymbol(const DataRefImpl &Ref) const { in getCOFFSymbol()
1186 COFFSymbolRef COFFObjectFile::getCOFFSymbol(const SymbolRef &Symbol) const { in getCOFFSymbol()
1191 COFFObjectFile::getCOFFRelocation(const RelocationRef &Reloc) const { in getCOFFRelocation()
1196 COFFObjectFile::getRelocations(const coff_section *Sec) const { in getRelocations()
1205 StringRef COFFObjectFile::getRelocationTypeName(uint16_t Type) const { in getRelocationTypeName()
1298 void COFFObjectFile::getRelocationTypeName( in getRelocationTypeName()
1305 bool COFFObjectFile::isRelocatableObject() const { in isRelocatableObject()
1309 StringRef COFFObjectFile::mapDebugSectionName(StringRef Name) const { in mapDebugSectionName()
1334 makeImportedSymbolIterator(const COFFObjectFile *Object, in makeImportedSymbolIterator()
1345 importedSymbolBegin(uint32_t RVA, const COFFObjectFile *Object) { in importedSymbolBegin()
1352 importedSymbolEnd(uint32_t RVA, const COFFObjectFile *Object) { in importedSymbolEnd()
1643 Expected<std::unique_ptr<COFFObjectFile>>
1646 std::unique_ptr<COFFObjectFile> Ret(new COFFObjectFile(Object, EC)); in createCOFFObjectFile()