Home | History | Annotate | Download | only in Object

Lines Matching defs:COFFObjectFile

1 //===- COFFObjectFile.cpp - COFF object file implementation -----*- C++ -*-===//
10 // This file declares the COFFObjectFile class.
58 const coff_symbol *COFFObjectFile::toSymb(DataRefImpl Symb) const {
76 const coff_section *COFFObjectFile::toSec(DataRefImpl Sec) const {
93 error_code COFFObjectFile::getSymbolNext(DataRefImpl Symb,
102 error_code COFFObjectFile::getSymbolName(DataRefImpl Symb,
108 error_code COFFObjectFile::getSymbolFileOffset(DataRefImpl Symb,
126 error_code COFFObjectFile::getSymbolAddress(DataRefImpl Symb,
144 error_code COFFObjectFile::getSymbolType(DataRefImpl Symb,
166 error_code COFFObjectFile::getSymbolFlags(DataRefImpl Symb,
190 error_code COFFObjectFile::getSymbolSize(DataRefImpl Symb,
211 error_code COFFObjectFile::getSymbolNMTypeChar(DataRefImpl Symb,
279 error_code COFFObjectFile::getSymbolSection(DataRefImpl Symb,
294 error_code COFFObjectFile::getSymbolValue(DataRefImpl Symb,
296 report_fatal_error("getSymbolValue unimplemented in COFFObjectFile");
299 error_code COFFObjectFile::getSectionNext(DataRefImpl Sec,
308 error_code COFFObjectFile::getSectionName(DataRefImpl Sec,
314 error_code COFFObjectFile::getSectionAddress(DataRefImpl Sec,
321 error_code COFFObjectFile::getSectionSize(DataRefImpl Sec,
328 error_code COFFObjectFile::getSectionContents(DataRefImpl Sec,
337 error_code COFFObjectFile::getSectionAlignment(DataRefImpl Sec,
346 error_code COFFObjectFile::isSectionText(DataRefImpl Sec,
353 error_code COFFObjectFile::isSectionData(DataRefImpl Sec,
360 error_code COFFObjectFile::isSectionBSS(DataRefImpl Sec,
367 error_code COFFObjectFile::isSectionRequiredForExecution(DataRefImpl Sec,
374 error_code COFFObjectFile::isSectionVirtual(DataRefImpl Sec,
381 error_code COFFObjectFile::isSectionZeroInit(DataRefImpl Sec,
388 error_code COFFObjectFile::isSectionReadOnlyData(DataRefImpl Sec,
395 error_code COFFObjectFile::sectionContainsSymbol(DataRefImpl Sec,
409 relocation_iterator COFFObjectFile::getSectionRelBegin(DataRefImpl Sec) const {
420 relocation_iterator COFFObjectFile::getSectionRelEnd(DataRefImpl Sec) const {
434 COFFObjectFile::COFFObjectFile(MemoryBuffer *Object, error_code &ec)
522 symbol_iterator COFFObjectFile::begin_symbols() const {
528 symbol_iterator COFFObjectFile::end_symbols() const {
535 symbol_iterator COFFObjectFile::begin_dynamic_symbols() const {
537 report_fatal_error("Dynamic symbols unimplemented in COFFObjectFile");
540 symbol_iterator COFFObjectFile::end_dynamic_symbols() const {
542 report_fatal_error("Dynamic symbols unimplemented in COFFObjectFile");
545 library_iterator COFFObjectFile::begin_libraries_needed() const {
547 report_fatal_error("Libraries needed unimplemented in COFFObjectFile");
550 library_iterator COFFObjectFile::end_libraries_needed() const {
552 report_fatal_error("Libraries needed unimplemented in COFFObjectFile");
555 StringRef COFFObjectFile::getLoadName() const {
561 section_iterator COFFObjectFile::begin_sections() const {
567 section_iterator COFFObjectFile::end_sections() const {
573 uint8_t COFFObjectFile::getBytesInAddress() const {
577 StringRef COFFObjectFile::getFileFormatName() const {
588 unsigned COFFObjectFile::getArch() const {
601 error_code COFFObjectFile::getHeader(const coff_file_header *&Res) const {
605 error_code COFFObjectFile::getCOFFHeader(const coff_file_header *&Res) const {
610 error_code COFFObjectFile::getPE32Header(const pe32_header *&Res) const {
615 error_code COFFObjectFile::getDataDirectory(uint32_t index,
624 error_code COFFObjectFile::getSection(int32_t index,
639 error_code COFFObjectFile::getString(uint32_t offset,
650 error_code COFFObjectFile::getSymbol(uint32_t index,
659 error_code COFFObjectFile::getSymbolName(const coff_symbol *symbol,
678 ArrayRef<uint8_t> COFFObjectFile::getSymbolAuxData(
700 error_code COFFObjectFile::getSectionName(const coff_section *Sec,
723 error_code COFFObjectFile::getSectionContents(const coff_section *Sec,
737 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const {
740 error_code COFFObjectFile::getRelocationNext(DataRefImpl Rel,
747 error_code COFFObjectFile::getRelocationAddress(DataRefImpl Rel,
749 report_fatal_error("getRelocationAddress not implemented in COFFObjectFile");
751 error_code COFFObjectFile::getRelocationOffset(DataRefImpl Rel,
756 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const {
762 error_code COFFObjectFile::getRelocationType(DataRefImpl Rel,
769 const coff_section *COFFObjectFile::getCOFFSection(section_iterator &It) const {
773 const coff_symbol *COFFObjectFile::getCOFFSymbol(symbol_iterator &It) const {
777 const coff_relocation *COFFObjectFile::getCOFFRelocation(
786 error_code COFFObjectFile::getRelocationTypeName(DataRefImpl Rel,
840 error_code COFFObjectFile::getRelocationValueString(DataRefImpl Rel,
853 error_code COFFObjectFile::getLibraryNext(DataRefImpl LibData,
855 report_fatal_error("getLibraryNext not implemented in COFFObjectFile");
858 error_code COFFObjectFile::getLibraryPath(DataRefImpl LibData,
860 report_fatal_error("getLibraryPath not implemented in COFFObjectFile");
867 return new COFFObjectFile(Object, ec);