Lines Matching defs:Obj
40 ELFDumper(const ELFObjectFile<ELFT> *Obj, StreamWriter& Writer)
42 , Obj(Obj) { }
64 const ELFO *Obj;
73 static error_code createELFDumper(const ELFObjectFile<ELFT> *Obj,
76 Result.reset(new ELFDumper<ELFT>(Obj, Writer));
80 error_code createELFDumper(const object::ObjectFile *Obj,
84 if (const ELF32LEObjectFile *ELFObj = dyn_cast<ELF32LEObjectFile>(Obj))
88 if (const ELF32BEObjectFile *ELFObj = dyn_cast<ELF32BEObjectFile>(Obj))
92 if (const ELF64LEObjectFile *ELFObj = dyn_cast<ELF64LEObjectFile>(Obj))
96 if (const ELF64BEObjectFile *ELFObj = dyn_cast<ELF64BEObjectFile>(Obj))
424 const typename ELFO::Elf_Ehdr *Header = Obj->getElfHeader();
465 for (section_iterator SecI = Obj->begin_sections(),
466 SecE = Obj->end_sections();
472 const Elf_Shdr *Section = Obj->getElfSection(SecI);
480 W.printHex ("Type", getElfSectionType(Obj->getArch(), Section->sh_type),
504 for (symbol_iterator SymI = Obj->begin_symbols(),
505 SymE = Obj->end_symbols();
532 for (section_iterator SecI = Obj->begin_sections(),
533 SecE = Obj->end_sections();
572 if (Obj->getElfHeader()->e_type == ELF::ET_REL){
581 if (Symbol != Obj->end_symbols() && error(Symbol->getName(SymbolName)))
605 for (symbol_iterator SymI = Obj->begin_symbols(), SymE = Obj->end_symbols();
618 for (symbol_iterator SymI = Obj->begin_dynamic_symbols(),
619 SymE = Obj->end_dynamic_symbols();
631 const Elf_Sym *Symbol = Obj->getElfSymbol(SymI);
632 const Elf_Shdr *Section = Obj->getSection(Symbol);
640 Obj->getSectionName(Section, SectionName);
646 if (error(Obj->getSymbolVersion(*SymI, Version, IsDefault)))
769 EDI Start = Obj->begin_dynamic_table(),
770 End = Obj->end_dynamic_table(true);
779 bool Is64 = Obj->getBytesInAddress() == 8;
789 printValue(Obj, Start->getTag(), Start->getVal(), Is64, OS);
812 for (library_iterator I = Obj->begin_libraries_needed(),
813 E = Obj->end_libraries_needed();
835 for (typename ELFO::Elf_Phdr_Iter PI = Obj->begin_program_headers(),
836 PE = Obj->end_program_headers();