Lines Matching refs:COFFObjectFile
102 const coff_symbol_type *COFFObjectFile::toSymb(DataRefImpl Ref) const { in toSymb()
119 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec()
136 void COFFObjectFile::moveSymbolNext(DataRefImpl &Ref) const { in moveSymbolNext()
151 Expected<StringRef> COFFObjectFile::getSymbolName(DataRefImpl Ref) const { in getSymbolName()
155 uint64_t COFFObjectFile::getSymbolValueImpl(DataRefImpl Ref) const { in getSymbolValueImpl()
159 uint32_t COFFObjectFile::getSymbolAlignment(DataRefImpl Ref) const { in getSymbolAlignment()
166 Expected<uint64_t> COFFObjectFile::getSymbolAddress(DataRefImpl Ref) const { in getSymbolAddress()
187 Expected<SymbolRef::Type> COFFObjectFile::getSymbolType(DataRefImpl Ref) const { in getSymbolType()
210 Expected<uint32_t> COFFObjectFile::getSymbolFlags(DataRefImpl Ref) const { in getSymbolFlags()
241 uint64_t COFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Ref) const { in getCommonSymbolSizeImpl()
247 COFFObjectFile::getSymbolSection(DataRefImpl Ref) const { in getSymbolSection()
259 unsigned COFFObjectFile::getSymbolSectionID(SymbolRef Sym) const { in getSymbolSectionID()
264 void COFFObjectFile::moveSectionNext(DataRefImpl &Ref) const { in moveSectionNext()
270 Expected<StringRef> COFFObjectFile::getSectionName(DataRefImpl Ref) const { in getSectionName()
275 uint64_t COFFObjectFile::getSectionAddress(DataRefImpl Ref) const { in getSectionAddress()
285 uint64_t COFFObjectFile::getSectionIndex(DataRefImpl Sec) const { in getSectionIndex()
289 uint64_t COFFObjectFile::getSectionSize(DataRefImpl Ref) const { in getSectionSize()
294 COFFObjectFile::getSectionContents(DataRefImpl Ref) const { in getSectionContents()
302 uint64_t COFFObjectFile::getSectionAlignment(DataRefImpl Ref) const { in getSectionAlignment()
307 bool COFFObjectFile::isSectionCompressed(DataRefImpl Sec) const { in isSectionCompressed()
311 bool COFFObjectFile::isSectionText(DataRefImpl Ref) const { in isSectionText()
316 bool COFFObjectFile::isSectionData(DataRefImpl Ref) const { in isSectionData()
321 bool COFFObjectFile::isSectionBSS(DataRefImpl Ref) const { in isSectionBSS()
331 bool COFFObjectFile::isDebugSection(DataRefImpl Ref) const { in isDebugSection()
342 unsigned COFFObjectFile::getSectionID(SectionRef Sec) const { in getSectionID()
349 bool COFFObjectFile::isSectionVirtual(DataRefImpl Ref) const { in isSectionVirtual()
396 relocation_iterator COFFObjectFile::section_rel_begin(DataRefImpl Ref) const { in section_rel_begin()
406 relocation_iterator COFFObjectFile::section_rel_end(DataRefImpl Ref) const { in section_rel_end()
417 Error COFFObjectFile::initSymbolTablePtr() { in initSymbolTablePtr()
454 uint64_t COFFObjectFile::getImageBase() const { in getImageBase()
464 Error COFFObjectFile::getVaPtr(uint64_t Addr, uintptr_t &Res) const { in getVaPtr()
472 Error COFFObjectFile::getRvaPtr(uint32_t Addr, uintptr_t &Res) const { in getRvaPtr()
487 Error COFFObjectFile::getRvaAndSizeAsBytes(uint32_t RVA, uint32_t Size, in getRvaAndSizeAsBytes()
509 Error COFFObjectFile::getHintName(uint32_t Rva, uint16_t &Hint, in getHintName()
520 Error COFFObjectFile::getDebugPDBInfo(const debug_directory *DebugDir, in getDebugPDBInfo()
538 Error COFFObjectFile::getDebugPDBInfo(const codeview::DebugInfo *&PDBInfo, in getDebugPDBInfo()
550 Error COFFObjectFile::initImportTablePtr() { in initImportTablePtr()
576 Error COFFObjectFile::initDelayImportTablePtr() { in initDelayImportTablePtr()
597 Error COFFObjectFile::initExportTablePtr() { in initExportTablePtr()
617 Error COFFObjectFile::initBaseRelocPtr() { in initBaseRelocPtr()
637 Error COFFObjectFile::initDebugDirectoryPtr() { in initDebugDirectoryPtr()
662 Error COFFObjectFile::initTLSDirectoryPtr() { in initTLSDirectoryPtr()
694 Error COFFObjectFile::initLoadConfigPtr() { in initLoadConfigPtr()
711 Expected<std::unique_ptr<COFFObjectFile>>
712 COFFObjectFile::create(MemoryBufferRef Object) { in create()
713 std::unique_ptr<COFFObjectFile> Obj(new COFFObjectFile(std::move(Object))); in create()
719 COFFObjectFile::COFFObjectFile(MemoryBufferRef Object) in COFFObjectFile() function in COFFObjectFile
730 Error COFFObjectFile::initialize() { in initialize()
869 basic_symbol_iterator COFFObjectFile::symbol_begin() const { in symbol_begin()
875 basic_symbol_iterator COFFObjectFile::symbol_end() const { in symbol_end()
882 import_directory_iterator COFFObjectFile::import_directory_begin() const { in import_directory_begin()
891 import_directory_iterator COFFObjectFile::import_directory_end() const { in import_directory_end()
897 COFFObjectFile::delay_import_directory_begin() const { in delay_import_directory_begin()
903 COFFObjectFile::delay_import_directory_end() const { in delay_import_directory_end()
909 export_directory_iterator COFFObjectFile::export_directory_begin() const { in export_directory_begin()
914 export_directory_iterator COFFObjectFile::export_directory_end() const { in export_directory_end()
922 section_iterator COFFObjectFile::section_begin() const { in section_begin()
928 section_iterator COFFObjectFile::section_end() const { in section_end()
936 base_reloc_iterator COFFObjectFile::base_reloc_begin() const { in base_reloc_begin()
940 base_reloc_iterator COFFObjectFile::base_reloc_end() const { in base_reloc_end()
944 uint8_t COFFObjectFile::getBytesInAddress() const { in getBytesInAddress()
948 StringRef COFFObjectFile::getFileFormatName() const { in getFileFormatName()
963 Triple::ArchType COFFObjectFile::getArch() const { in getArch()
978 Expected<uint64_t> COFFObjectFile::getStartAddress() const { in getStartAddress()
985 COFFObjectFile::import_directories() const { in import_directories()
990 COFFObjectFile::delay_import_directories() const { in delay_import_directories()
996 COFFObjectFile::export_directories() const { in export_directories()
1000 iterator_range<base_reloc_iterator> COFFObjectFile::base_relocs() const { in base_relocs()
1004 const data_directory *COFFObjectFile::getDataDirectory(uint32_t Index) const { in getDataDirectory()
1015 Expected<const coff_section *> COFFObjectFile::getSection(int32_t Index) const { in getSection()
1027 Expected<StringRef> COFFObjectFile::getString(uint32_t Offset) const { in getString()
1036 Expected<StringRef> COFFObjectFile::getSymbolName(COFFSymbolRef Symbol) const { in getSymbolName()
1041 COFFObjectFile::getSymbolName(const coff_symbol_generic *Symbol) const { in getSymbolName()
1055 COFFObjectFile::getSymbolAuxData(COFFSymbolRef Symbol) const { in getSymbolAuxData()
1077 uint32_t COFFObjectFile::getSymbolIndex(COFFSymbolRef Symbol) const { in getSymbolIndex()
1088 COFFObjectFile::getSectionName(const coff_section *Sec) const { in getSectionName()
1115 uint64_t COFFObjectFile::getSectionSize(const coff_section *Sec) const { in getSectionSize()
1131 Error COFFObjectFile::getSectionContents(const coff_section *Sec, in getSectionContents()
1149 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const { in toRel()
1153 void COFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext()
1158 uint64_t COFFObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset()
1163 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol()
1177 uint64_t COFFObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType()
1183 COFFObjectFile::getCOFFSection(const SectionRef &Section) const { in getCOFFSection()
1187 COFFSymbolRef COFFObjectFile::getCOFFSymbol(const DataRefImpl &Ref) const { in getCOFFSymbol()
1195 COFFSymbolRef COFFObjectFile::getCOFFSymbol(const SymbolRef &Symbol) const { in getCOFFSymbol()
1200 COFFObjectFile::getCOFFRelocation(const RelocationRef &Reloc) const { in getCOFFRelocation()
1205 COFFObjectFile::getRelocations(const coff_section *Sec) const { in getRelocations()
1214 StringRef COFFObjectFile::getRelocationTypeName(uint16_t Type) const { in getRelocationTypeName()
1310 void COFFObjectFile::getRelocationTypeName( in getRelocationTypeName()
1317 bool COFFObjectFile::isRelocatableObject() const { in isRelocatableObject()
1321 StringRef COFFObjectFile::mapDebugSectionName(StringRef Name) const { in mapDebugSectionName()
1346 makeImportedSymbolIterator(const COFFObjectFile *Object, in makeImportedSymbolIterator()
1357 importedSymbolBegin(uint32_t RVA, const COFFObjectFile *Object) { in importedSymbolBegin()
1365 importedSymbolEnd(uint32_t RVA, const COFFObjectFile *Object) { in importedSymbolEnd()
1654 Expected<std::unique_ptr<COFFObjectFile>>
1656 return COFFObjectFile::create(Object); in createCOFFObjectFile()
1776 Error ResourceSectionRef::load(const COFFObjectFile *O) { in load()
1789 Error ResourceSectionRef::load(const COFFObjectFile *O, const SectionRef &S) { in load()