Lines Matching defs:COFFObjectFile
1 //===- COFFObjectFile.cpp - COFF object file implementation -----*- C++ -*-===//
10 // This file declares the COFFObjectFile class.
57 const coff_symbol *COFFObjectFile::toSymb(DataRefImpl Symb) const {
75 const coff_section *COFFObjectFile::toSec(DataRefImpl Sec) const {
92 error_code COFFObjectFile::getSymbolNext(DataRefImpl Symb,
101 error_code COFFObjectFile::getSymbolName(DataRefImpl Symb,
107 error_code COFFObjectFile::getSymbolFileOffset(DataRefImpl Symb,
125 error_code COFFObjectFile::getSymbolAddress(DataRefImpl Symb,
143 error_code COFFObjectFile::getSymbolType(DataRefImpl Symb,
165 error_code COFFObjectFile::getSymbolFlags(DataRefImpl Symb,
189 error_code COFFObjectFile::getSymbolSize(DataRefImpl Symb,
210 error_code COFFObjectFile::getSymbolNMTypeChar(DataRefImpl Symb,
278 error_code COFFObjectFile::getSymbolSection(DataRefImpl Symb,
293 error_code COFFObjectFile::getSymbolValue(DataRefImpl Symb,
295 report_fatal_error("getSymbolValue unimplemented in COFFObjectFile");
298 error_code COFFObjectFile::getSectionNext(DataRefImpl Sec,
307 error_code COFFObjectFile::getSectionName(DataRefImpl Sec,
313 error_code COFFObjectFile::getSectionAddress(DataRefImpl Sec,
320 error_code COFFObjectFile::getSectionSize(DataRefImpl Sec,
327 error_code COFFObjectFile::getSectionContents(DataRefImpl Sec,
336 error_code COFFObjectFile::getSectionAlignment(DataRefImpl Sec,
345 error_code COFFObjectFile::isSectionText(DataRefImpl Sec,
352 error_code COFFObjectFile::isSectionData(DataRefImpl Sec,
359 error_code COFFObjectFile::isSectionBSS(DataRefImpl Sec,
366 error_code COFFObjectFile::isSectionRequiredForExecution(DataRefImpl Sec,
373 error_code COFFObjectFile::isSectionVirtual(DataRefImpl Sec,
380 error_code COFFObjectFile::isSectionZeroInit(DataRefImpl Sec,
387 error_code COFFObjectFile::isSectionReadOnlyData(DataRefImpl Sec,
394 error_code COFFObjectFile::sectionContainsSymbol(DataRefImpl Sec,
408 relocation_iterator COFFObjectFile::getSectionRelBegin(DataRefImpl Sec) const {
419 relocation_iterator COFFObjectFile::getSectionRelEnd(DataRefImpl Sec) const {
433 COFFObjectFile::COFFObjectFile(MemoryBuffer *Object, error_code &ec)
503 symbol_iterator COFFObjectFile::begin_symbols() const {
509 symbol_iterator COFFObjectFile::end_symbols() const {
516 symbol_iterator COFFObjectFile::begin_dynamic_symbols() const {
518 report_fatal_error("Dynamic symbols unimplemented in COFFObjectFile");
521 symbol_iterator COFFObjectFile::end_dynamic_symbols() const {
523 report_fatal_error("Dynamic symbols unimplemented in COFFObjectFile");
526 library_iterator COFFObjectFile::begin_libraries_needed() const {
528 report_fatal_error("Libraries needed unimplemented in COFFObjectFile");
531 library_iterator COFFObjectFile::end_libraries_needed() const {
533 report_fatal_error("Libraries needed unimplemented in COFFObjectFile");
536 StringRef COFFObjectFile::getLoadName() const {
542 section_iterator COFFObjectFile::begin_sections() const {
548 section_iterator COFFObjectFile::end_sections() const {
554 uint8_t COFFObjectFile::getBytesInAddress() const {
558 StringRef COFFObjectFile::getFileFormatName() const {
569 unsigned COFFObjectFile::getArch() const {
580 error_code COFFObjectFile::getHeader(const coff_file_header *&Res) const {
585 error_code COFFObjectFile::getSection(int32_t index,
600 error_code COFFObjectFile::getString(uint32_t offset,
611 error_code COFFObjectFile::getSymbol(uint32_t index,
620 error_code COFFObjectFile::getSymbolName(const coff_symbol *symbol,
639 ArrayRef<uint8_t> COFFObjectFile::getSymbolAuxData(
661 error_code COFFObjectFile::getSectionName(const coff_section *Sec,
684 error_code COFFObjectFile::getSectionContents(const coff_section *Sec,
698 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const {
701 error_code COFFObjectFile::getRelocationNext(DataRefImpl Rel,
708 error_code COFFObjectFile::getRelocationAddress(DataRefImpl Rel,
713 error_code COFFObjectFile::getRelocationOffset(DataRefImpl Rel,
718 error_code COFFObjectFile::getRelocationSymbol(DataRefImpl Rel,
726 error_code COFFObjectFile::getRelocationType(DataRefImpl Rel,
733 const coff_section *COFFObjectFile::getCOFFSection(section_iterator &It) const {
737 const coff_symbol *COFFObjectFile::getCOFFSymbol(symbol_iterator &It) const {
741 const coff_relocation *COFFObjectFile::getCOFFRelocation(
750 error_code COFFObjectFile::getRelocationTypeName(DataRefImpl Rel,
804 error_code COFFObjectFile::getRelocationAdditionalInfo(DataRefImpl Rel,
809 error_code COFFObjectFile::getRelocationValueString(DataRefImpl Rel,
822 error_code COFFObjectFile::getLibraryNext(DataRefImpl LibData,
824 report_fatal_error("getLibraryNext not implemented in COFFObjectFile");
827 error_code COFFObjectFile::getLibraryPath(DataRefImpl LibData,
829 report_fatal_error("getLibraryPath not implemented in COFFObjectFile");
836 return new COFFObjectFile(Object, ec);