Home
last modified time | relevance | path

Searched refs:shdr_info (Results 1 – 2 of 2) sorted by relevance

/external/elfutils/src/
Dstrip.c421 struct shdr_info in handle_elf() struct
437 } *shdr_info = NULL; in handle_elf() local
603 if ((shnum + 2) * sizeof (struct shdr_info) > MAX_STACK_ALLOC) in handle_elf()
604 shdr_info = (struct shdr_info *) xcalloc (shnum + 2, in handle_elf()
605 sizeof (struct shdr_info)); in handle_elf()
608 shdr_info = (struct shdr_info *) alloca ((shnum + 2) in handle_elf()
609 * sizeof (struct shdr_info)); in handle_elf()
610 memset (shdr_info, '\0', (shnum + 2) * sizeof (struct shdr_info)); in handle_elf()
622 shdr_info[cnt].scn = scn; in handle_elf()
625 if (gelf_getshdr (scn, &shdr_info[cnt].shdr) == NULL) in handle_elf()
[all …]
/external/elfutils/tests/
Drun-strings-test.sh377 testfile8: 8020 shdr_info[shdr_info[cnt].shdr.sh_link].version_idx == 0
378 testfile8: 8060 shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx == 0
382 testfile8: 8160 (versiondata->d_size / sizeof (GElf_Versym)) >= shdr_info[cnt].data->d_size / el…
383 testfile8: 81c0 shdr_info[cnt].shdr.sh_type == 11
384 testfile8: 8200 (versiondata->d_size / sizeof (Elf32_Word)) >= shdr_info[cnt].data->d_size / els…
385 testfile8: 8260 shdr_info[cnt].shdr.sh_type == 18
386 testfile8: 82a0 shdr_info[cnt].data != ((void *)0)
387 testfile8: 82e0 elf_ndxscn (shdr_info[cnt].newscn) == idx
390 testfile8: 83a0 elf_ndxscn (shdr_info[cnt].newscn) == shdr_info[cnt].idx
423 testfile9: 3512 shdr_info[cnt].group_idx != 0
[all …]