Lines Matching refs:Obj
21 const object::COFFObjectFile &Obj; member in __anon9f07085e0111::COFFDumper
30 COFFDumper(const object::COFFObjectFile &Obj);
36 COFFDumper::COFFDumper(const object::COFFObjectFile &Obj) : Obj(Obj) { in COFFDumper() argument
38 Obj.getPE32Header(PE32Header); in COFFDumper()
43 Obj.getPE32PlusHeader(PE32PlusHeader); in COFFDumper()
49 dumpSections(Obj.getNumberOfSections()); in COFFDumper()
50 dumpSymbols(Obj.getNumberOfSymbols()); in COFFDumper()
89 if (Obj.getDataDirectory(I++, DD)) in dumpOptionalHeader()
98 YAMLObj.Header.Machine = Obj.getMachine(); in dumpHeader()
99 YAMLObj.Header.Characteristics = Obj.getCharacteristics(); in dumpHeader()
104 for (const auto &ObjSection : Obj.sections()) { in dumpSections()
105 const object::coff_section *COFFSection = Obj.getCOFFSection(ObjSection); in dumpSections()
115 Obj.getSectionContents(COFFSection, sectionData); in dumpSections()
120 const object::coff_relocation *reloc = Obj.getCOFFRelocation(Reloc); in dumpSections()
192 for (const auto &S : Obj.symbols()) { in dumpSymbols()
193 object::COFFSymbolRef Symbol = Obj.getCOFFSymbol(S); in dumpSymbols()
195 Obj.getSymbolName(Symbol, Sym.Name); in dumpSymbols()
204 ArrayRef<uint8_t> AuxData = Obj.getSymbolAuxData(Symbol); in dumpSymbols()
236 Obj.getSymbolTableEntrySize()) in dumpSymbols()
268 std::error_code coff2yaml(raw_ostream &Out, const object::COFFObjectFile &Obj) { in coff2yaml() argument
269 COFFDumper Dumper(Obj); in coff2yaml()