Lines Matching refs:COFF

187 Decoder::getSectionContaining(const COFFObjectFile &COFF, uint64_t VA) {  in getSectionContaining()  argument
188 for (const auto &Section : COFF.sections()) { in getSectionContaining()
198 ErrorOr<object::SymbolRef> Decoder::getSymbol(const COFFObjectFile &COFF, in getSymbol() argument
200 for (const auto &Symbol : COFF.symbols()) { in getSymbol()
516 bool Decoder::dumpXDataRecord(const COFFObjectFile &COFF, in dumpXDataRecord() argument
520 if (COFF.getSectionContents(COFF.getCOFFSection(Section), Contents)) in dumpXDataRecord()
573 getRelocatedSymbol(COFF, Section, HandlerOffset * sizeof(uint32_t)); in dumpXDataRecord()
575 Symbol = getSymbol(COFF, Address, /*FunctionOnly=*/true); in dumpXDataRecord()
589 bool Decoder::dumpUnpackedEntry(const COFFObjectFile &COFF, in dumpUnpackedEntry() argument
595 ErrorOr<SymbolRef> Function = getRelocatedSymbol(COFF, Section, Offset); in dumpUnpackedEntry()
597 Function = getSymbol(COFF, RF.BeginAddress, /*FunctionOnly=*/true); in dumpUnpackedEntry()
599 ErrorOr<SymbolRef> XDataRecord = getRelocatedSymbol(COFF, Section, Offset + 4); in dumpUnpackedEntry()
601 XDataRecord = getSymbol(COFF, RF.ExceptionInformationRVA()); in dumpUnpackedEntry()
615 if (COFF.getPE32Header(PEHeader)) in dumpUnpackedEntry()
631 section_iterator SI = COFF.section_end(); in dumpUnpackedEntry()
635 return dumpXDataRecord(COFF, *SI, FunctionAddress, Address); in dumpUnpackedEntry()
638 if (COFF.getPE32Header(PEHeader)) in dumpUnpackedEntry()
645 getSectionContaining(COFF, RF.ExceptionInformationRVA()); in dumpUnpackedEntry()
649 return dumpXDataRecord(COFF, *Section, FunctionAddress, in dumpUnpackedEntry()
654 bool Decoder::dumpPackedEntry(const object::COFFObjectFile &COFF, in dumpPackedEntry() argument
661 ErrorOr<SymbolRef> Function = getRelocatedSymbol(COFF, Section, Offset); in dumpPackedEntry()
663 Function = getSymbol(COFF, RF.BeginAddress, /*FunctionOnly=*/true); in dumpPackedEntry()
672 if (COFF.getPE32Header(PEHeader)) in dumpPackedEntry()
691 bool Decoder::dumpProcedureDataEntry(const COFFObjectFile &COFF, in dumpProcedureDataEntry() argument
701 return dumpUnpackedEntry(COFF, Section, Offset, Index, Entry); in dumpProcedureDataEntry()
702 return dumpPackedEntry(COFF, Section, Offset, Index, Entry); in dumpProcedureDataEntry()
705 void Decoder::dumpProcedureData(const COFFObjectFile &COFF, in dumpProcedureData() argument
708 if (COFF.getSectionContents(COFF.getCOFFSection(Section), Contents)) in dumpProcedureData()
717 if (!dumpProcedureDataEntry(COFF, Section, EI, Contents)) in dumpProcedureData()
721 std::error_code Decoder::dumpProcedureData(const COFFObjectFile &COFF) { in dumpProcedureData() argument
722 for (const auto &Section : COFF.sections()) { in dumpProcedureData()
725 COFF.getSectionName(COFF.getCOFFSection(Section), SectionName)) in dumpProcedureData()
729 dumpProcedureData(COFF, Section); in dumpProcedureData()