HomeSort by: relevance | last modified time | path
    Searched refs:Shdr (Results 1 - 23 of 23) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
elf2yaml.cpp 62 Error dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S);
63 Error dumpCommonRelocationSection(const Elf_Shdr *Shdr,
69 Expected<ELFYAML::AddrsigSection *> dumpAddrsigSection(const Elf_Shdr *Shdr);
71 dumpLinkerOptionsSection(const Elf_Shdr *Shdr);
73 dumpDependentLibrariesSection(const Elf_Shdr *Shdr);
75 dumpCallGraphProfileSection(const Elf_Shdr *Shdr);
76 Expected<ELFYAML::DynamicSection *> dumpDynamicSection(const Elf_Shdr *Shdr);
77 Expected<ELFYAML::RelocationSection *> dumpRelocSection(const Elf_Shdr *Shdr);
78 Expected<ELFYAML::RelrSection *> dumpRelrSection(const Elf_Shdr *Shdr);
80 dumpContentSection(const Elf_Shdr *Shdr);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/InterfaceStub/
ELFObjHandler.cpp 72 ElfHeader.e_shentsize = sizeof(typename ELFT::Shdr);
77 using Elf_Shdr = typename ELFT::Shdr;
79 Elf_Shdr Shdr;
174 using Elf_Shdr = typename ELFT::Shdr;
266 DynSym.Content.write(Data + DynSym.Shdr.sh_offset);
267 DynStr.Content.write(Data + DynStr.Shdr.sh_offset);
268 DynTab.Content.write(Data + DynTab.Shdr.sh_offset);
269 ShStrTab.Content.write(Data + ShStrTab.Shdr.sh_offset);
289 StrTab.Shdr.sh_type = SHT_STRTAB;
290 StrTab.Shdr.sh_flags = ShFlags
    [all...]
  /src/external/gpl3/binutils/dist/libiberty/
simple-object-elf.c 319 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
351 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
504 unsigned char shdr[sizeof (Elf64_External_Shdr)]; local
508 if (!simple_object_internal_read (descriptor, offset + eor->shoff, shdr,
519 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
520 shdr, sh_size, Elf_Addr);
524 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
525 shdr, sh_link, Elf_Word);
609 name_size = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
611 shstroff = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
625 unsigned char *shdr; local
1164 unsigned char *shdr; local
1213 unsigned char *shdr; local
1317 unsigned char *shdr; local
    [all...]
  /src/external/gpl3/binutils.old/dist/libiberty/
simple-object-elf.c 319 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
351 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
504 unsigned char shdr[sizeof (Elf64_External_Shdr)]; local
508 if (!simple_object_internal_read (descriptor, offset + eor->shoff, shdr,
519 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
520 shdr, sh_size, Elf_Addr);
524 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
525 shdr, sh_link, Elf_Word);
609 name_size = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
611 shstroff = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
625 unsigned char *shdr; local
1164 unsigned char *shdr; local
1213 unsigned char *shdr; local
1317 unsigned char *shdr; local
    [all...]
  /src/external/gpl3/gcc/dist/libiberty/
simple-object-elf.c 319 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
351 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
504 unsigned char shdr[sizeof (Elf64_External_Shdr)]; local
508 if (!simple_object_internal_read (descriptor, offset + eor->shoff, shdr,
519 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
520 shdr, sh_size, Elf_Addr);
524 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
525 shdr, sh_link, Elf_Word);
609 name_size = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
611 shstroff = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
625 unsigned char *shdr; local
1164 unsigned char *shdr; local
1213 unsigned char *shdr; local
1317 unsigned char *shdr; local
    [all...]
  /src/external/gpl3/gcc.old/dist/libiberty/
simple-object-elf.c 319 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
351 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
504 unsigned char shdr[sizeof (Elf64_External_Shdr)]; local
508 if (!simple_object_internal_read (descriptor, offset + eor->shoff, shdr,
519 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
520 shdr, sh_size, Elf_Addr);
524 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
525 shdr, sh_link, Elf_Word);
609 name_size = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
611 shstroff = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
625 unsigned char *shdr; local
1164 unsigned char *shdr; local
1213 unsigned char *shdr; local
1317 unsigned char *shdr; local
    [all...]
  /src/external/gpl3/gdb.old/dist/libiberty/
simple-object-elf.c 319 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
351 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
504 unsigned char shdr[sizeof (Elf64_External_Shdr)]; local
508 if (!simple_object_internal_read (descriptor, offset + eor->shoff, shdr,
519 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
520 shdr, sh_size, Elf_Addr);
524 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
525 shdr, sh_link, Elf_Word);
609 name_size = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
611 shstroff = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
625 unsigned char *shdr; local
1164 unsigned char *shdr; local
1213 unsigned char *shdr; local
1317 unsigned char *shdr; local
    [all...]
  /src/external/gpl3/gdb/dist/libiberty/
simple-object-elf.c 319 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
351 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
504 unsigned char shdr[sizeof (Elf64_External_Shdr)]; local
508 if (!simple_object_internal_read (descriptor, offset + eor->shoff, shdr,
519 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
520 shdr, sh_size, Elf_Addr);
524 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
525 shdr, sh_link, Elf_Word);
609 name_size = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
611 shstroff = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
625 unsigned char *shdr; local
1164 unsigned char *shdr; local
1213 unsigned char *shdr; local
1317 unsigned char *shdr; local
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
ELFDump.cpp 47 for (const typename ELFT::Shdr &Sec : *SectionsOrError) {
101 const typename ELFT::Shdr *SymSec =
306 static void printSymbolVersionDefinition(const typename ELFT::Shdr &Shdr,
316 uint16_t VerdefIndexWidth = std::to_string(Shdr.sh_info).size();
340 ArrayRef<typename ELFT::Shdr> Sections =
342 for (const typename ELFT::Shdr &Shdr : Sections) {
343 if (Shdr.sh_type != ELF::SHT_GNU_verneed &&
344 Shdr.sh_type != ELF::SHT_GNU_verdef
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
DwarfCFIEHPrinter.h 32 using Elf_Shdr = typename ELFT::Shdr;
49 static const typename ELFT::Shdr *
56 for (const typename ELFT::Shdr &Shdr : *SectionsOrErr)
57 if (Shdr.sh_addr == Addr)
58 return &Shdr;
86 for (const Elf_Shdr &Shdr : *SectionsOrErr) {
87 Expected<StringRef> NameOrErr = Obj.getSectionName(Shdr);
91 printEHFrame(&Shdr);
ELFDumper.cpp 395 const typename ELFT::Shdr *SymTab;
402 const typename ELFT::Shdr &Sec,
404 Expected<const typename ELFT::Shdr *> SymtabOrErr =
632 void printGNUVersionSectionProlog(const typename ELFT::Shdr &Sec,
944 for (const typename ELFO::Elf_Shdr &Shdr : cantFail(Obj.sections()))
945 if (Shdr.sh_addr == Addr && Shdr.sh_size > 0)
946 return &Shdr;
1616 std::pair<const typename ELFT::Phdr *, const typename ELFT::Shdr *>
2123 const typename ELFT::Shdr *
    [all...]
ARMEHABIPrinter.h 325 typedef typename ET::Shdr Elf_Shdr;
395 const typename ET::Shdr *
437 static const typename ET::Shdr *
440 for (const typename ET::Shdr &Sec : unwrapOrError(FileName, Obj.sections()))
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
jit-elf-util.h 51 ElfW (Shdr) *const shdr = (ElfW (Shdr) *) ((char *) addr + ehdr->e_shoff);
60 if (shdr[i].sh_type == SHT_SYMTAB)
62 ElfW (Sym) *symtab = (ElfW (Sym) *) (addr + shdr[i].sh_offset);
64 = (ElfW (Sym) *) (addr + shdr[i].sh_offset + shdr[i].sh_size);
66 = (char *) (addr + shdr[shdr[i].sh_link].sh_offset);
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
jit-elf-util.h 51 ElfW (Shdr) *const shdr = (ElfW (Shdr) *) ((char *) addr + ehdr->e_shoff);
60 if (shdr[i].sh_type == SHT_SYMTAB)
62 ElfW (Sym) *symtab = (ElfW (Sym) *) (addr + shdr[i].sh_offset);
64 = (ElfW (Sym) *) (addr + shdr[i].sh_offset + shdr[i].sh_size);
66 = (char *) (addr + shdr[shdr[i].sh_link].sh_offset);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/
Object.cpp 72 Elf_Shdr &Shdr = *reinterpret_cast<Elf_Shdr *>(B);
73 Shdr.sh_name = Sec.NameIndex;
74 Shdr.sh_type = Sec.Type;
75 Shdr.sh_flags = Sec.Flags;
76 Shdr.sh_addr = Sec.Addr;
77 Shdr.sh_offset = Sec.Offset;
78 Shdr.sh_size = Sec.Size;
79 Shdr.sh_link = Sec.Link;
80 Shdr.sh_info = Sec.Info;
81 Shdr.sh_addralign = Sec.Align
    [all...]
Object.h 324 using Elf_Shdr = typename ELFT::Shdr;
943 using Elf_Shdr = typename ELFT::Shdr;
958 Expected<SectionBase &> makeSection(const Elf_Shdr &Shdr);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Object/
ELF.h 132 const typename ELFT::Shdr &Sec) {
146 const typename ELFT::Shdr &Sec) {
217 Expected<StringRef> getLinkAsStrtab(const typename ELFT::Shdr &Sec) const;
326 /// \param Shdr the section to iterate over.
329 Elf_Note_Iterator notes_begin(const Elf_Shdr &Shdr, Error &Err) const {
330 assert(Shdr.sh_type == ELF::SHT_NOTE && "Shdr is not of type SHT_NOTE");
332 if (Shdr.sh_offset + Shdr.sh_size > getBufSize()) {
334 createError("invalid offset (0x" + Twine::utohexstr(Shdr.sh_offset)
    [all...]
ELFTypes.h 59 using Shdr = Elf_Shdr_Impl<ELFType<E, Is64>>;
80 using ShdrRange = ArrayRef<Shdr>;
115 using Elf_Shdr = typename ELFT::Shdr; \
  /src/external/bsd/elftoolchain/dist/libelf/
libelf_align.c 90 [ELF_T_SHDR] = MALIGN(Shdr),
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
DebugObjectManagerPlugin.cpp 48 ELFDebugObjectSection(const typename ELFT::Shdr *Header)
49 : Header(const_cast<typename ELFT::Shdr *>(Header)) {}
57 typename ELFT::Shdr *Header;
86 if (HeaderPtr < Start || HeaderPtr + sizeof(typename ELFT::Shdr) > End)
249 using SectionHeader = typename ELFT::Shdr;
  /src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
ELFEmitter.cpp 229 ArrayRef<typename ELFT::Shdr> SHeaders);
593 static void overrideFields(ELFYAML::Section *From, typename ELFT::Shdr &To) {
1033 Expected<uint64_t> emitDWARF(typename ELFT::Shdr &SHeader, StringRef Name,
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldELF.cpp 108 Elf_Shdr *shdr = local
113 shdr->sh_addr = static_cast<addr_type>(Addr);
143 typedef typename ELFT::Shdr Elf_Shdr;
164 Elf_Shdr *shdr = const_cast<Elf_Shdr *>( local
170 shdr->sh_addr = static_cast<addr_type>(SecLoadAddr);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-nm/
llvm-nm.cpp 1704 using Elf_Shdr = typename ELFT::Shdr;

Completed in 38 milliseconds