Lines Matching refs:error_code

35 bool checkSize(const MemoryBuffer *m, error_code &ec, uint64_t size) {
46 error_code getObject(const T *&Obj, const MemoryBuffer *M, const uint8_t *Ptr,
94 error_code COFFObjectFile::getSymbolNext(DataRefImpl Symb,
103 error_code COFFObjectFile::getSymbolName(DataRefImpl Symb,
109 error_code COFFObjectFile::getSymbolFileOffset(DataRefImpl Symb,
113 if (error_code ec = getSection(symb->SectionNumber, Section))
125 error_code COFFObjectFile::getSymbolAddress(DataRefImpl Symb,
129 if (error_code ec = getSection(symb->SectionNumber, Section))
141 error_code COFFObjectFile::getSymbolType(DataRefImpl Symb,
155 if (error_code ec = getSection(symb->SectionNumber, Section))
167 error_code COFFObjectFile::getSymbolFlags(DataRefImpl Symb,
191 error_code COFFObjectFile::getSymbolSize(DataRefImpl Symb,
198 if (error_code ec = getSection(symb->SectionNumber, Section))
210 error_code COFFObjectFile::getSymbolSection(DataRefImpl Symb,
217 if (error_code ec = getSection(symb->SectionNumber, sec)) return ec;
225 error_code COFFObjectFile::getSymbolValue(DataRefImpl Symb,
230 error_code COFFObjectFile::getSectionNext(DataRefImpl Sec,
239 error_code COFFObjectFile::getSectionName(DataRefImpl Sec,
245 error_code COFFObjectFile::getSectionAddress(DataRefImpl Sec,
252 error_code COFFObjectFile::getSectionSize(DataRefImpl Sec,
259 error_code COFFObjectFile::getSectionContents(DataRefImpl Sec,
263 error_code EC = getSectionContents(sec, Res);
268 error_code COFFObjectFile::getSectionAlignment(DataRefImpl Sec,
277 error_code COFFObjectFile::isSectionText(DataRefImpl Sec,
284 error_code COFFObjectFile::isSectionData(DataRefImpl Sec,
291 error_code COFFObjectFile::isSectionBSS(DataRefImpl Sec,
298 error_code COFFObjectFile::isSectionRequiredForExecution(DataRefImpl Sec,
305 error_code COFFObjectFile::isSectionVirtual(DataRefImpl Sec,
312 error_code COFFObjectFile::isSectionZeroInit(DataRefImpl Sec,
319 error_code COFFObjectFile::isSectionReadOnlyData(DataRefImpl Sec,
326 error_code COFFObjectFile::sectionContainsSymbol(DataRefImpl Sec,
332 if (error_code ec = getSection(symb->SectionNumber, symb_sec)) return ec;
366 error_code COFFObjectFile::initSymbolTablePtr() {
367 if (error_code ec = getObject(
379 if (error_code ec = getObject(StringTableSizePtr, Data, StringTableAddr))
382 if (error_code ec =
394 error_code COFFObjectFile::getRvaPtr(uint32_t Rva, uintptr_t &Res) const {
395 error_code ec;
414 error_code COFFObjectFile::
417 if (error_code ec = getRvaPtr(Rva, IntPtr))
426 error_code COFFObjectFile::initImportTablePtr() {
444 if (error_code ec = getRvaPtr(ImportTableRva, IntPtr))
453 COFFObjectFile::COFFObjectFile(MemoryBuffer *Object, error_code &ec)
624 error_code COFFObjectFile::getHeader(const coff_file_header *&Res) const {
628 error_code COFFObjectFile::getCOFFHeader(const coff_file_header *&Res) const {
633 error_code COFFObjectFile::getPE32Header(const pe32_header *&Res) const {
638 error_code COFFObjectFile::getDataDirectory(uint32_t index,
647 error_code COFFObjectFile::getSection(int32_t index,
662 error_code COFFObjectFile::getString(uint32_t offset,
673 error_code COFFObjectFile::getSymbol(uint32_t index,
682 error_code COFFObjectFile::getSymbolName(const coff_symbol *symbol,
687 if (error_code ec = getString(Offset, Res))
723 error_code COFFObjectFile::getSectionName(const coff_section *Sec,
738 if (error_code ec = getString(Offset, Name))
746 error_code COFFObjectFile::getSectionContents(const coff_section *Sec,
763 error_code COFFObjectFile::getRelocationNext(DataRefImpl Rel,
770 error_code COFFObjectFile::getRelocationAddress(DataRefImpl Rel,
774 error_code COFFObjectFile::getRelocationOffset(DataRefImpl Rel,
785 error_code COFFObjectFile::getRelocationType(DataRefImpl Rel,
808 error_code COFFObjectFile::getRelocationTypeName(DataRefImpl Rel,
862 error_code COFFObjectFile::getRelocationValueString(DataRefImpl Rel,
866 if (error_code ec = getSymbol(reloc->SymbolTableIndex, symb)) return ec;
870 if (error_code ec = getSymbolName(sym, symname)) return ec;
875 error_code COFFObjectFile::getLibraryNext(DataRefImpl LibData,
880 error_code COFFObjectFile::getLibraryPath(DataRefImpl LibData,
894 error_code
904 error_code ImportDirectoryEntryRef::
910 error_code ImportDirectoryEntryRef::getName(StringRef &Result) const {
913 if (error_code ec = OwningObject->getRvaPtr(Dir->NameRVA, IntPtr))
920 error_code ImportDirectoryEntryRef::getImportLookupEntry(
924 if (error_code ec = OwningObject->getRvaPtr(
934 error_code ec;