/external/elfutils/libelf/ |
H A D | elf_getshstrndx.c | 117 if (elf->state.elf32.scns.data[0].shdr.e32 != NULL) 119 num = elf->state.elf32.scns.data[0].shdr.e32->sh_link; 155 if (elf->state.elf64.scns.data[0].shdr.e64 != NULL) 157 num = elf->state.elf64.scns.data[0].shdr.e64->sh_link;
|
H A D | elf_newscn.c | 139 result->shdr.e32 = (Elf32_Shdr *) calloc (1, sizeof (Elf32_Shdr)); 140 if (result->shdr.e32 == NULL) 148 result->shdr.e64 = (Elf64_Shdr *) calloc (1, sizeof (Elf64_Shdr)); 149 if (result->shdr.e64 == NULL)
|
H A D | elf_end.c | 173 free (scn->shdr.e32); 217 || (offsetof (struct Elf, state.elf32.shdr) 218 == offsetof (struct Elf, state.elf64.shdr)) 219 ? (void *) elf->state.elf32.shdr 220 : (void *) elf->state.elf64.shdr);
|
H A D | elf_begin.c | 320 elf->state.elf32.shdr 332 elf->state.elf32.scns.data[cnt].shdr.e32 = 333 &elf->state.elf32.shdr[cnt]; 337 + elf->state.elf32.shdr[cnt].sh_offset); 343 if (elf->state.elf32.shdr[cnt].sh_type == SHT_SYMTAB_SHNDX 344 && elf->state.elf32.shdr[cnt].sh_link < scncnt) 345 elf->state.elf32.scns.data[elf->state.elf32.shdr[cnt].sh_link].shndx_index 408 elf->state.elf64.shdr 420 elf->state.elf64.scns.data[cnt].shdr.e64 = 421 &elf->state.elf64.shdr[cn [all...] |
H A D | libelfP.h | 246 } shdr; member in struct:Elf_Scn 329 int shdr_malloced; /* Nonzero if shdr array was allocated. */ 333 void *shdr; member in struct:Elf::__anon5302::__anon5303 350 int shdr_malloced; /* Nonzero if shdr array was allocated. */ 354 Elf32_Shdr *shdr; /* Used when reading from a file. */ member in struct:Elf::__anon5302::__anon5304 376 int shdr_malloced; /* Nonzero if shdr array was allocated. */ 380 Elf64_Shdr *shdr; /* Used when reading from a file. */ member in struct:Elf::__anon5302::__anon5305
|
/external/elfutils/libdwfl/ |
H A D | dwfl_module_getdwarf.c | 155 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 156 if (shdr == NULL) 159 const char *name = elf_strptr (elf, shstrndx, shdr->sh_name); 236 GElf_Shdr shdr_mem, *shdr = gelf_getshdr (scn, &shdr_mem); local 237 if (shdr != NULL) 238 switch (shdr->sh_type) 244 *strshndx = shdr->sh_link; 245 *syments = shdr->sh_size / shdr->sh_entsize; 256 *strshndx = shdr [all...] |
H A D | offline.c | 66 const GElf_Shdr *shdr __attribute__ ((unused)), 70 assert (shdr->sh_addr == 0); 71 assert (shdr->sh_flags & SHF_ALLOC); 104 assert (main_shdr->sh_flags == shdr->sh_flags);
|
H A D | libdwfl.h | 86 GElf_Word shndx, const GElf_Shdr *shdr,
|
H A D | linux-kernel-modules.c | 719 const GElf_Shdr *shdr __attribute__ ((unused)),
|
/external/elfutils/src/ |
H A D | elfcmp.c | 597 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 598 if (shdr == NULL) 603 if ((shdr->sh_type != SHT_REL && shdr->sh_type != SHT_RELA) 604 || shdr->sh_link != scnndx) 613 if (shdr->sh_type == SHT_REL) 614 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize); 628 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr [all...] |
H A D | nm.c | 995 GElf_Shdr *shdr, const char *prefix, const char *fname, 1005 size_t size = shdr->sh_size; 1007 size_t entsize = shdr->sh_entsize; 1013 fullname, elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); 1017 fullname, elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); 1081 const char *symstr = elf_strptr (ebl->elf, shdr->sh_link, 1177 sort_by_name_strtab = elf_getdata (elf_getscn (ebl->elf, shdr->sh_link), 1188 show_symbols_sysv (ebl, shdr->sh_link, prefix, fname, 1194 show_symbols_bsd (ebl->elf, shdr->sh_link, prefix, fname, fullname, 1201 show_symbols_posix (ebl->elf, shdr 994 show_symbols(Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, Elf_Scn *xndxscn, GElf_Shdr *shdr, const char *prefix, const char *fname, const char *fullname) argument 1274 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local [all...] |
H A D | addr2line.c | 400 GElf_Shdr *shdr = gelf_getshdr local 403 if (unlikely (shdr == NULL)) 406 if (addr >= shdr->sh_size) 412 addr += shdr->sh_addr + shdr_bias;
|
H A D | strings.c | 725 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 729 if (shdr != NULL && shdr->sh_type != SHT_NOBITS 730 && (shdr->sh_flags & SHF_ALLOC) != 0) 731 result |= read_block (fd, fname, fdlen, shdr->sh_offset, 732 shdr->sh_offset + shdr->sh_size);
|
H A D | xelf.h | 72 # define xelf_update_shdr(scn, shdr) \ 73 /* nothing */ ((void) (scn), (void) (shdr), 1) 204 # define xelf_update_shdr(scn, shdr) \ 205 /* nothing */ ((void) (scn), (void) (shdr), 1) 339 # define xelf_update_shdr(scn, shdr) gelf_update_shdr (scn, shdr)
|
H A D | ld.h | 163 XElf_Shdr *shdr; member in struct:usedfiles::scninfo 166 XElf_Shdr shdr; member in struct:usedfiles::scninfo
|
H A D | ld.c | 1254 = runp->fileinfo->scninfo[SCNINFO_SHDR (runp->shdr).sh_info].used;
|
/external/grub/stage2/ |
H A D | boot.c | 657 Elf32_Shdr *shdr = NULL; local 676 shdr = (Elf32_Shdr *) mbi.syms.e.addr; 685 if (shdr[i].sh_addr != 0) 689 if (shdr[i].sh_size == 0) 693 cur_addr = ((cur_addr + shdr[i].sh_addralign) & 694 - (int) shdr[i].sh_addralign); 696 grub_seek (shdr[i].sh_offset); 698 sec_size = shdr[i].sh_size; 709 shdr[i].sh_addr = cur_addr;
|
/external/linux-tools-perf/util/ |
H A D | symbol.c | 821 static inline const char *elf_sec__name(const GElf_Shdr *shdr, argument 824 return secstrs->d_buf + shdr->sh_name; 827 static inline int elf_sec__is_text(const GElf_Shdr *shdr, argument 830 return strstr(elf_sec__name(shdr, secstrs), "text") != NULL; 833 static inline bool elf_sec__is_data(const GElf_Shdr *shdr, argument 836 return strstr(elf_sec__name(shdr, secstrs), "data") != NULL; 1034 static bool elf_sec__is_a(GElf_Shdr *shdr, Elf_Data *secstrs, argument 1039 return elf_sec__is_text(shdr, secstrs); 1041 return elf_sec__is_data(shdr, secstrs); 1050 GElf_Shdr shdr; local 1078 GElf_Shdr shdr, opdshdr; local 1339 GElf_Shdr shdr; local [all...] |
/external/valgrind/main/coregrind/m_debuginfo/ |
H A D | readelf.c | 1449 TRACE_SYMTAB("shdr: img %p nent %ld ent_szB %ld\n", 1486 TRACE_SYMTAB("shdr: string table at %p\n", shdr_strtab_img ); 1660 ElfXX_Shdr* shdr = INDEX_BIS( shdr_img, i, shdr_ent_szB ); local 1661 UChar* name = shdr_strtab_img + shdr->sh_name; 1662 Addr svma = shdr->sh_addr; 1663 OffT foff = shdr->sh_offset; 1664 UWord size = shdr->sh_size; 1665 UInt alyn = shdr->sh_addralign; 1666 Bool bits = !(shdr->sh_type == SHT_NOBITS); 2150 do { ElfXX_Shdr* shdr \ [all...] |
/external/elfutils/libebl/ |
H A D | libebl.h | 148 const GElf_Shdr *shdr, const char *name); 214 const GElf_Shdr *shdr, const char *name,
|
H A D | eblopenbackend.c | 540 const GElf_Shdr *shdr __attribute__ ((unused)),
|
/external/elfutils/tests/ |
H A D | run-strings-test.sh | 385 testfile8: 8020 shdr_info[shdr_info[cnt].shdr.sh_link].version_idx == 0 386 testfile8: 8060 shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx == 0 391 testfile8: 81c0 shdr_info[cnt].shdr.sh_type == 11 393 testfile8: 8260 shdr_info[cnt].shdr.sh_type == 18 401 testfile8: 8440 shdr_info[cnt].shdr.sh_type == 2 454 testfile9: 3880 shdr_info[shdr_info[cnt].shdr.sh_link].version_idx == 0 455 testfile9: 38c0 shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx == 0 460 testfile9: 3a20 shdr_info[cnt].shdr.sh_type == 11 462 testfile9: 3ac0 shdr_info[cnt].shdr.sh_type == 18 470 testfile9: 3ca0 shdr_info[cnt].shdr [all...] |
/external/mksh/src/ |
H A D | histrap.c | 790 shdr, /* expecting a header */ enumerator in enum:state 799 State state = shdr; 804 case shdr: 819 state = shdr; 914 for (state = shdr; bytes-- > 0; base++) { 916 case shdr: 948 state = shdr;
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldELF.cpp | 124 Elf_Shdr *shdr = const_cast<Elf_Shdr*>( local 129 shdr->sh_addr = static_cast<addr_type>(Addr);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
H A D | HeaderFactoryImpl.java | 1228 SIPHeader shdr = smp.parseSIPHeader(headers); 1229 if (shdr instanceof SIPHeaderList) 1230 return (SIPHeaderList) shdr;
|