Lines Matching refs:COFFObjectFile
101 const coff_symbol_type *COFFObjectFile::toSymb(DataRefImpl Ref) const { in toSymb()
118 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()
154 uint64_t COFFObjectFile::getSymbolValueImpl(DataRefImpl Ref) const { in getSymbolValueImpl()
158 uint32_t COFFObjectFile::getSymbolAlignment(DataRefImpl Ref) const { in getSymbolAlignment()
165 Expected<uint64_t> COFFObjectFile::getSymbolAddress(DataRefImpl Ref) const { in getSymbolAddress()
186 Expected<SymbolRef::Type> COFFObjectFile::getSymbolType(DataRefImpl Ref) const { in getSymbolType()
209 Expected<uint32_t> COFFObjectFile::getSymbolFlags(DataRefImpl Ref) const { in getSymbolFlags()
240 uint64_t COFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Ref) const { in getCommonSymbolSizeImpl()
246 COFFObjectFile::getSymbolSection(DataRefImpl Ref) const { in getSymbolSection()
258 unsigned COFFObjectFile::getSymbolSectionID(SymbolRef Sym) const { in getSymbolSectionID()
263 void COFFObjectFile::moveSectionNext(DataRefImpl &Ref) const { in moveSectionNext()
269 Expected<StringRef> COFFObjectFile::getSectionName(DataRefImpl Ref) const { in getSectionName()
274 uint64_t COFFObjectFile::getSectionAddress(DataRefImpl Ref) const { in getSectionAddress()
284 uint64_t COFFObjectFile::getSectionIndex(DataRefImpl Sec) const { in getSectionIndex()
288 uint64_t COFFObjectFile::getSectionSize(DataRefImpl Ref) const { in getSectionSize()
293 COFFObjectFile::getSectionContents(DataRefImpl Ref) const { in getSectionContents()
301 uint64_t COFFObjectFile::getSectionAlignment(DataRefImpl Ref) const { in getSectionAlignment()
306 bool COFFObjectFile::isSectionCompressed(DataRefImpl Sec) const { in isSectionCompressed()
310 bool COFFObjectFile::isSectionText(DataRefImpl Ref) const { in isSectionText()
315 bool COFFObjectFile::isSectionData(DataRefImpl Ref) const { in isSectionData()
320 bool COFFObjectFile::isSectionBSS(DataRefImpl Ref) const { in isSectionBSS()
330 bool COFFObjectFile::isDebugSection(DataRefImpl Ref) const { in isDebugSection()
341 unsigned COFFObjectFile::getSectionID(SectionRef Sec) const { in getSectionID()
348 bool COFFObjectFile::isSectionVirtual(DataRefImpl Ref) const { in isSectionVirtual()
395 relocation_iterator COFFObjectFile::section_rel_begin(DataRefImpl Ref) const { in section_rel_begin()
405 relocation_iterator COFFObjectFile::section_rel_end(DataRefImpl Ref) const { in section_rel_end()
416 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, in getRvaPtr()
506 Error COFFObjectFile::getRvaAndSizeAsBytes(uint32_t RVA, uint32_t Size, in getRvaAndSizeAsBytes()
534 Error COFFObjectFile::getHintName(uint32_t Rva, uint16_t &Hint, in getHintName()
545 Error COFFObjectFile::getDebugPDBInfo(const debug_directory *DebugDir, in getDebugPDBInfo()
564 Error COFFObjectFile::getDebugPDBInfo(const codeview::DebugInfo *&PDBInfo, in getDebugPDBInfo()
576 Error COFFObjectFile::initImportTablePtr() { in initImportTablePtr()
602 Error COFFObjectFile::initDelayImportTablePtr() { in initDelayImportTablePtr()
626 Error COFFObjectFile::initExportTablePtr() { in initExportTablePtr()
649 Error COFFObjectFile::initBaseRelocPtr() { in initBaseRelocPtr()
673 Error COFFObjectFile::initDebugDirectoryPtr() { in initDebugDirectoryPtr()
703 Error COFFObjectFile::initTLSDirectoryPtr() { in initTLSDirectoryPtr()
738 Error COFFObjectFile::initLoadConfigPtr() { in initLoadConfigPtr()
806 Expected<std::unique_ptr<COFFObjectFile>>
807 COFFObjectFile::create(MemoryBufferRef Object) { in create()
808 std::unique_ptr<COFFObjectFile> Obj(new COFFObjectFile(std::move(Object))); in create()
814 COFFObjectFile::COFFObjectFile(MemoryBufferRef Object) in COFFObjectFile() function in COFFObjectFile
833 Error COFFObjectFile::initialize() { in initialize()
975 basic_symbol_iterator COFFObjectFile::symbol_begin() const { in symbol_begin()
981 basic_symbol_iterator COFFObjectFile::symbol_end() const { in symbol_end()
988 import_directory_iterator COFFObjectFile::import_directory_begin() const { in import_directory_begin()
997 import_directory_iterator COFFObjectFile::import_directory_end() const { in import_directory_end()
1003 COFFObjectFile::delay_import_directory_begin() const { in delay_import_directory_begin()
1009 COFFObjectFile::delay_import_directory_end() const { in delay_import_directory_end()
1015 export_directory_iterator COFFObjectFile::export_directory_begin() const { in export_directory_begin()
1020 export_directory_iterator COFFObjectFile::export_directory_end() const { in export_directory_end()
1028 section_iterator COFFObjectFile::section_begin() const { in section_begin()
1034 section_iterator COFFObjectFile::section_end() const { in section_end()
1042 base_reloc_iterator COFFObjectFile::base_reloc_begin() const { in base_reloc_begin()
1046 base_reloc_iterator COFFObjectFile::base_reloc_end() const { in base_reloc_end()
1050 uint8_t COFFObjectFile::getBytesInAddress() const { in getBytesInAddress()
1054 StringRef COFFObjectFile::getFileFormatName() const { in getFileFormatName()
1073 Triple::ArchType COFFObjectFile::getArch() const { in getArch()
1077 Expected<uint64_t> COFFObjectFile::getStartAddress() const { in getStartAddress()
1084 COFFObjectFile::import_directories() const { in import_directories()
1089 COFFObjectFile::delay_import_directories() const { in delay_import_directories()
1095 COFFObjectFile::export_directories() const { in export_directories()
1099 iterator_range<base_reloc_iterator> COFFObjectFile::base_relocs() const { in base_relocs()
1103 const data_directory *COFFObjectFile::getDataDirectory(uint32_t Index) const { in getDataDirectory()
1114 Expected<const coff_section *> COFFObjectFile::getSection(int32_t Index) const { in getSection()
1127 Expected<StringRef> COFFObjectFile::getString(uint32_t Offset) const { in getString()
1136 Expected<StringRef> COFFObjectFile::getSymbolName(COFFSymbolRef Symbol) const { in getSymbolName()
1141 COFFObjectFile::getSymbolName(const coff_symbol_generic *Symbol) const { in getSymbolName()
1155 COFFObjectFile::getSymbolAuxData(COFFSymbolRef Symbol) const { in getSymbolAuxData()
1177 uint32_t COFFObjectFile::getSymbolIndex(COFFSymbolRef Symbol) const { in getSymbolIndex()
1188 COFFObjectFile::getSectionName(const coff_section *Sec) const { in getSectionName()
1209 uint64_t COFFObjectFile::getSectionSize(const coff_section *Sec) const { in getSectionSize()
1225 Error COFFObjectFile::getSectionContents(const coff_section *Sec, in getSectionContents()
1243 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const { in toRel()
1247 void COFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext()
1252 uint64_t COFFObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset()
1257 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol()
1271 uint64_t COFFObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType()
1277 COFFObjectFile::getCOFFSection(const SectionRef &Section) const { in getCOFFSection()
1281 COFFSymbolRef COFFObjectFile::getCOFFSymbol(const DataRefImpl &Ref) const { in getCOFFSymbol()
1289 COFFSymbolRef COFFObjectFile::getCOFFSymbol(const SymbolRef &Symbol) const { in getCOFFSymbol()
1294 COFFObjectFile::getCOFFRelocation(const RelocationRef &Reloc) const { in getCOFFRelocation()
1299 COFFObjectFile::getRelocations(const coff_section *Sec) const { in getRelocations()
1308 StringRef COFFObjectFile::getRelocationTypeName(uint16_t Type) const { in getRelocationTypeName()
1404 void COFFObjectFile::getRelocationTypeName( in getRelocationTypeName()
1411 bool COFFObjectFile::isRelocatableObject() const { in isRelocatableObject()
1415 StringRef COFFObjectFile::mapDebugSectionName(StringRef Name) const { in mapDebugSectionName()
1440 makeImportedSymbolIterator(const COFFObjectFile *Object, in makeImportedSymbolIterator()
1451 importedSymbolBegin(uint32_t RVA, const COFFObjectFile *Object) { in importedSymbolBegin()
1459 importedSymbolEnd(uint32_t RVA, const COFFObjectFile *Object) { in importedSymbolEnd()
1753 Expected<std::unique_ptr<COFFObjectFile>>
1755 return COFFObjectFile::create(Object); in createCOFFObjectFile()
1875 Error ResourceSectionRef::load(const COFFObjectFile *O) { in load()
1888 Error ResourceSectionRef::load(const COFFObjectFile *O, const SectionRef &S) { in load()