• Home
  • Raw
  • Download

Lines Matching refs:EC

34 static bool checkSize(const MemoryBuffer &M, std::error_code &EC,  in checkSize()  argument
37 EC = object_error::unexpected_eof; in checkSize()
143 if (std::error_code EC = getSection(Symb->SectionNumber, Section)) in getSymbolAddress() local
144 return EC; in getSymbolAddress()
168 if (std::error_code EC = getSection(Symb->SectionNumber, Section)) in getSymbolType() local
169 return EC; in getSymbolType()
213 if (std::error_code EC = getSection(Symb->SectionNumber, Section)) in getSymbolSize() local
214 return EC; in getSymbolSize()
233 if (std::error_code EC = getSection(Symb->SectionNumber, Sec)) in getSymbolSection() local
234 return EC; in getSymbolSection()
272 std::error_code EC = getSectionContents(Sec, Res); in getSectionContents() local
274 return EC; in getSectionContents()
342 if (std::error_code EC = getSection(Symb->SectionNumber, SymbSec)) in sectionContainsSymbol() local
343 return EC; in sectionContainsSymbol()
399 if (std::error_code EC = getObject( in initSymbolTablePtr() local
402 return EC; in initSymbolTablePtr()
411 if (std::error_code EC = in initSymbolTablePtr() local
413 return EC; in initSymbolTablePtr()
415 if (std::error_code EC = in initSymbolTablePtr() local
417 return EC; in initSymbolTablePtr()
459 if (std::error_code EC = getRvaPtr(Rva, IntPtr)) in getHintName() local
460 return EC; in getHintName()
486 if (std::error_code EC = getRvaPtr(ImportTableRva, IntPtr)) in initImportTablePtr() local
487 return EC; in initImportTablePtr()
507 if (std::error_code EC = getRvaPtr(ExportTableRva, IntPtr)) in initExportTablePtr() local
508 return EC; in initExportTablePtr()
515 std::error_code &EC) in COFFObjectFile() argument
522 if (!checkSize(*Data, EC, sizeof(coff_file_header))) in COFFObjectFile()
536 if (!checkSize(*Data, EC, 0x3c + 8)) in COFFObjectFile()
541 EC = object_error::parse_failed; in COFFObjectFile()
548 if ((EC = getObject(COFFHeader, *Data, base() + CurPtr))) in COFFObjectFile()
554 if ((EC = getObject(Header, *Data, base() + CurPtr))) in COFFObjectFile()
569 EC = object_error::parse_failed; in COFFObjectFile()
572 if ((EC = getObject(DataDirectory, *Data, DataDirAddr, DataDirSize))) in COFFObjectFile()
580 if ((EC = getObject(SectionTable, *Data, base() + CurPtr, in COFFObjectFile()
586 if ((EC = initSymbolTablePtr())) in COFFObjectFile()
590 if ((EC = initImportTablePtr())) in COFFObjectFile()
594 if ((EC = initExportTablePtr())) in COFFObjectFile()
597 EC = object_error::success; in COFFObjectFile()
771 if (std::error_code EC = getString(Offset, Res)) in getSymbolName() local
772 return EC; in getSymbolName()
828 if (std::error_code EC = getString(Offset, Name)) in getSectionName() local
829 return EC; in getSectionName()
986 if (std::error_code EC = getSymbol(Reloc->SymbolTableIndex, Symb)) in getRelocationValueString() local
987 return EC; in getRelocationValueString()
991 if (std::error_code EC = getSymbolName(Sym, SymName)) in getRelocationValueString() local
992 return EC; in getRelocationValueString()
1024 if (std::error_code EC = in getName() local
1026 return EC; in getName()
1034 if (std::error_code EC = in getImportLookupEntry() local
1036 return EC; in getImportLookupEntry()
1054 if (std::error_code EC = in getDllName() local
1056 return EC; in getDllName()
1077 if (std::error_code EC = in getExportRVA() local
1079 return EC; in getExportRVA()
1091 if (std::error_code EC = in getSymbolName() local
1093 return EC; in getSymbolName()
1102 if (std::error_code EC = in getSymbolName() local
1104 return EC; in getSymbolName()
1106 if (std::error_code EC = OwningObject->getRvaPtr(NamePtr[Offset], IntPtr)) in getSymbolName() local
1107 return EC; in getSymbolName()
1117 std::error_code EC; in createCOFFObjectFile() local
1119 new COFFObjectFile(std::move(Object), EC)); in createCOFFObjectFile()
1120 if (EC) in createCOFFObjectFile()
1121 return EC; in createCOFFObjectFile()