Lines Matching full:error_code
34 bool checkSize(const MemoryBuffer *m, error_code &ec, uint64_t size) {
45 error_code getObject(const T *&Obj, const MemoryBuffer *M, const uint8_t *Ptr,
93 error_code COFFObjectFile::getSymbolNext(DataRefImpl Symb,
102 error_code COFFObjectFile::getSymbolName(DataRefImpl Symb,
108 error_code COFFObjectFile::getSymbolFileOffset(DataRefImpl Symb,
112 if (error_code ec = getSection(symb->SectionNumber, Section))
115 if (error_code ec = getSymbolNMTypeChar(Symb, Type))
126 error_code COFFObjectFile::getSymbolAddress(DataRefImpl Symb,
130 if (error_code ec = getSection(symb->SectionNumber, Section))
133 if (error_code ec = getSymbolNMTypeChar(Symb, Type))
144 error_code COFFObjectFile::getSymbolType(DataRefImpl Symb,
156 if (error_code ec = getSymbolNMTypeChar(Symb, Type))
166 error_code COFFObjectFile::getSymbolFlags(DataRefImpl Symb,
190 error_code COFFObjectFile::getSymbolSize(DataRefImpl Symb,
197 if (error_code ec = getSection(symb->SectionNumber, Section))
200 if (error_code ec = getSymbolNMTypeChar(Symb, Type))
211 error_code COFFObjectFile::getSymbolNMTypeChar(DataRefImpl Symb,
215 if (error_code ec = getSymbolName(Symb, name))
230 if (error_code ec = getSection(symb->SectionNumber, Section))
279 error_code COFFObjectFile::getSymbolSection(DataRefImpl Symb,
286 if (error_code ec = getSection(symb->SectionNumber, sec)) return ec;
294 error_code COFFObjectFile::getSymbolValue(DataRefImpl Symb,
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,
332 error_code EC = getSectionContents(sec, Res);
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,
401 if (error_code ec = getSection(symb->SectionNumber, symb_sec)) return ec;
434 COFFObjectFile::COFFObjectFile(MemoryBuffer *Object, error_code &ec)
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,
664 if (error_code ec = getString(Offset, Res))
700 error_code COFFObjectFile::getSectionName(const coff_section *Sec,
715 if (error_code ec = getString(Offset, Name))
723 error_code COFFObjectFile::getSectionContents(const coff_section *Sec,
740 error_code COFFObjectFile::getRelocationNext(DataRefImpl Rel,
747 error_code COFFObjectFile::getRelocationAddress(DataRefImpl Rel,
751 error_code COFFObjectFile::getRelocationOffset(DataRefImpl Rel,
762 error_code COFFObjectFile::getRelocationType(DataRefImpl Rel,
786 error_code COFFObjectFile::getRelocationTypeName(DataRefImpl Rel,
840 error_code COFFObjectFile::getRelocationValueString(DataRefImpl Rel,
844 if (error_code ec = getSymbol(reloc->SymbolTableIndex, symb)) return ec;
848 if (error_code ec = getSymbolName(sym, symname)) return ec;
853 error_code COFFObjectFile::getLibraryNext(DataRefImpl LibData,
858 error_code COFFObjectFile::getLibraryPath(DataRefImpl LibData,
866 error_code ec;