Lines Matching full:coff
187 Decoder::getSectionContaining(const COFFObjectFile &COFF, uint64_t VA) {
188 for (const auto &Section : COFF.sections()) {
203 ErrorOr<object::SymbolRef> Decoder::getSymbol(const COFFObjectFile &COFF,
205 for (const auto &Symbol : COFF.symbols()) {
521 bool Decoder::dumpXDataRecord(const COFFObjectFile &COFF,
525 if (COFF.getSectionContents(COFF.getCOFFSection(Section), Contents))
581 getRelocatedSymbol(COFF, Section, HandlerOffset * sizeof(uint32_t));
583 Symbol = getSymbol(COFF, Address, /*FunctionOnly=*/true);
597 bool Decoder::dumpUnpackedEntry(const COFFObjectFile &COFF,
603 ErrorOr<SymbolRef> Function = getRelocatedSymbol(COFF, Section, Offset);
605 Function = getSymbol(COFF, RF.BeginAddress, /*FunctionOnly=*/true);
607 ErrorOr<SymbolRef> XDataRecord = getRelocatedSymbol(COFF, Section, Offset + 4);
609 XDataRecord = getSymbol(COFF, RF.ExceptionInformationRVA());
623 if (COFF.getPE32Header(PEHeader))
639 section_iterator SI = COFF.section_end();
643 return dumpXDataRecord(COFF, *SI, FunctionAddress, Address);
646 if (COFF.getPE32Header(PEHeader))
653 getSectionContaining(COFF, RF.ExceptionInformationRVA());
657 return dumpXDataRecord(COFF, *Section, FunctionAddress,
662 bool Decoder::dumpPackedEntry(const object::COFFObjectFile &COFF,
669 ErrorOr<SymbolRef> Function = getRelocatedSymbol(COFF, Section, Offset);
671 Function = getSymbol(COFF, RF.BeginAddress, /*FunctionOnly=*/true);
680 if (COFF.getPE32Header(PEHeader))
699 bool Decoder::dumpProcedureDataEntry(const COFFObjectFile &COFF,
709 return dumpUnpackedEntry(COFF, Section, Offset, Index, Entry);
710 return dumpPackedEntry(COFF, Section, Offset, Index, Entry);
713 void Decoder::dumpProcedureData(const COFFObjectFile &COFF,
716 if (COFF.getSectionContents(COFF.getCOFFSection(Section), Contents))
725 if (!dumpProcedureDataEntry(COFF, Section, EI, Contents))
729 std::error_code Decoder::dumpProcedureData(const COFFObjectFile &COFF) {
730 for (const auto &Section : COFF.sections()) {
733 COFF.getSectionName(COFF.getCOFFSection(Section), SectionName))
737 dumpProcedureData(COFF, Section);