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()
455 uint64_t COFFObjectFile::getImageBase() const { in getImageBase()
465 Error COFFObjectFile::getVaPtr(uint64_t Addr, uintptr_t &Res) const { in getVaPtr()
473 Error COFFObjectFile::getRvaPtr(uint32_t Addr, uintptr_t &Res, in getRvaPtr()
507 Error COFFObjectFile::getRvaAndSizeAsBytes(uint32_t RVA, uint32_t Size, in getRvaAndSizeAsBytes()
535 Error COFFObjectFile::getHintName(uint32_t Rva, uint16_t &Hint, in getHintName()
546 Error COFFObjectFile::getDebugPDBInfo(const debug_directory *DebugDir, in getDebugPDBInfo()
565 Error COFFObjectFile::getDebugPDBInfo(const codeview::DebugInfo *&PDBInfo, in getDebugPDBInfo()
577 Error COFFObjectFile::initImportTablePtr() { in initImportTablePtr()
603 Error COFFObjectFile::initDelayImportTablePtr() { in initDelayImportTablePtr()
627 Error COFFObjectFile::initExportTablePtr() { in initExportTablePtr()
650 Error COFFObjectFile::initBaseRelocPtr() { in initBaseRelocPtr()
674 Error COFFObjectFile::initDebugDirectoryPtr() { in initDebugDirectoryPtr()
704 Error COFFObjectFile::initTLSDirectoryPtr() { in initTLSDirectoryPtr()
739 Error COFFObjectFile::initLoadConfigPtr() { in initLoadConfigPtr()
759 Expected<std::unique_ptr<COFFObjectFile>>
760 COFFObjectFile::create(MemoryBufferRef Object) { in create()
761 std::unique_ptr<COFFObjectFile> Obj(new COFFObjectFile(std::move(Object))); in create()
767 COFFObjectFile::COFFObjectFile(MemoryBufferRef Object) in COFFObjectFile() function in COFFObjectFile
786 Error COFFObjectFile::initialize() { in initialize()
928 basic_symbol_iterator COFFObjectFile::symbol_begin() const { in symbol_begin()
934 basic_symbol_iterator COFFObjectFile::symbol_end() const { in symbol_end()
941 import_directory_iterator COFFObjectFile::import_directory_begin() const { in import_directory_begin()
950 import_directory_iterator COFFObjectFile::import_directory_end() const { in import_directory_end()
956 COFFObjectFile::delay_import_directory_begin() const { in delay_import_directory_begin()
962 COFFObjectFile::delay_import_directory_end() const { in delay_import_directory_end()
968 export_directory_iterator COFFObjectFile::export_directory_begin() const { in export_directory_begin()
973 export_directory_iterator COFFObjectFile::export_directory_end() const { in export_directory_end()
981 section_iterator COFFObjectFile::section_begin() const { in section_begin()
987 section_iterator COFFObjectFile::section_end() const { in section_end()
995 base_reloc_iterator COFFObjectFile::base_reloc_begin() const { in base_reloc_begin()
999 base_reloc_iterator COFFObjectFile::base_reloc_end() const { in base_reloc_end()
1003 uint8_t COFFObjectFile::getBytesInAddress() const { in getBytesInAddress()
1007 StringRef COFFObjectFile::getFileFormatName() const { in getFileFormatName()
1024 Triple::ArchType COFFObjectFile::getArch() const { in getArch()
1040 Expected<uint64_t> COFFObjectFile::getStartAddress() const { in getStartAddress()
1047 COFFObjectFile::import_directories() const { in import_directories()
1052 COFFObjectFile::delay_import_directories() const { in delay_import_directories()
1058 COFFObjectFile::export_directories() const { in export_directories()
1062 iterator_range<base_reloc_iterator> COFFObjectFile::base_relocs() const { in base_relocs()
1066 const data_directory *COFFObjectFile::getDataDirectory(uint32_t Index) const { in getDataDirectory()
1077 Expected<const coff_section *> COFFObjectFile::getSection(int32_t Index) const { in getSection()
1090 Expected<StringRef> COFFObjectFile::getString(uint32_t Offset) const { in getString()
1099 Expected<StringRef> COFFObjectFile::getSymbolName(COFFSymbolRef Symbol) const { in getSymbolName()
1104 COFFObjectFile::getSymbolName(const coff_symbol_generic *Symbol) const { in getSymbolName()
1118 COFFObjectFile::getSymbolAuxData(COFFSymbolRef Symbol) const { in getSymbolAuxData()
1140 uint32_t COFFObjectFile::getSymbolIndex(COFFSymbolRef Symbol) const { in getSymbolIndex()
1151 COFFObjectFile::getSectionName(const coff_section *Sec) const { in getSectionName()
1172 uint64_t COFFObjectFile::getSectionSize(const coff_section *Sec) const { in getSectionSize()
1188 Error COFFObjectFile::getSectionContents(const coff_section *Sec, in getSectionContents()
1206 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const { in toRel()
1210 void COFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext()
1215 uint64_t COFFObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset()
1220 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol()
1234 uint64_t COFFObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType()
1240 COFFObjectFile::getCOFFSection(const SectionRef &Section) const { in getCOFFSection()
1244 COFFSymbolRef COFFObjectFile::getCOFFSymbol(const DataRefImpl &Ref) const { in getCOFFSymbol()
1252 COFFSymbolRef COFFObjectFile::getCOFFSymbol(const SymbolRef &Symbol) const { in getCOFFSymbol()
1257 COFFObjectFile::getCOFFRelocation(const RelocationRef &Reloc) const { in getCOFFRelocation()
1262 COFFObjectFile::getRelocations(const coff_section *Sec) const { in getRelocations()
1271 StringRef COFFObjectFile::getRelocationTypeName(uint16_t Type) const { in getRelocationTypeName()
1368 void COFFObjectFile::getRelocationTypeName( in getRelocationTypeName()
1375 bool COFFObjectFile::isRelocatableObject() const { in isRelocatableObject()
1379 StringRef COFFObjectFile::mapDebugSectionName(StringRef Name) const { in mapDebugSectionName()
1404 makeImportedSymbolIterator(const COFFObjectFile *Object, in makeImportedSymbolIterator()
1415 importedSymbolBegin(uint32_t RVA, const COFFObjectFile *Object) { in importedSymbolBegin()
1423 importedSymbolEnd(uint32_t RVA, const COFFObjectFile *Object) { in importedSymbolEnd()
1717 Expected<std::unique_ptr<COFFObjectFile>>
1719 return COFFObjectFile::create(Object); in createCOFFObjectFile()
1839 Error ResourceSectionRef::load(const COFFObjectFile *O) { in load()
1852 Error ResourceSectionRef::load(const COFFObjectFile *O, const SectionRef &S) { in load()