Home
last modified time | relevance | path

Searched refs:arsym (Results 1 – 6 of 6) sorted by relevance

/external/elfutils/tests/
Darsymtest.c33 Elf_Arsym *arsym; in main() local
74 arsym = elf_getarsym (elf, &narsym); in main()
75 if (arsym == NULL) in main()
90 if (elf_rand (elf, arsym[narsym].as_off) != arsym[narsym].as_off) in main()
93 arsym[narsym].as_name, elf_errmsg (-1)); in main()
109 arsym[narsym].as_name, elf_errmsg (-1)); in main()
114 fprintf (fp, "%s in %s\n", arsym[narsym].as_name, arhdr->ar_name); in main()
Dsaridx.c234 Elf_Arsym *arsym = elf_getarsym (elf, &n); in main() local
244 arsym[n].as_name, (long int) arsym[n].as_off, in main()
245 arsym[n].as_hash); in main()
/external/elfutils/libelf/
Delf_getarsym.c265 Elf_Arsym *arsym = elf->state.ar.ar_sym; in elf_getarsym() local
270 arsym[cnt].as_name = str_data; in elf_getarsym()
277 arsym[cnt].as_off = tmp; in elf_getarsym()
281 if (sizeof (arsym[cnt].as_off) < 8 in elf_getarsym()
282 && arsym[cnt].as_off != tmp) in elf_getarsym()
295 arsym[cnt].as_off = bswap_32 ((*u32)[cnt]); in elf_getarsym()
297 arsym[cnt].as_off = (*u32)[cnt]; in elf_getarsym()
299 arsym[cnt].as_hash = _dl_elf_hash (str_data); in elf_getarsym()
312 arsym[n].as_name = NULL; in elf_getarsym()
313 arsym[n].as_off = 0; in elf_getarsym()
[all …]
/external/elfutils/src/
Dnm.c436 Elf_Arsym *arsym = elf_getarsym (elf, NULL); in handle_ar() local
438 if (arsym != NULL) in handle_ar()
445 while (arsym->as_off != 0) in handle_ar()
447 if (arhdr_off != arsym->as_off in handle_ar()
448 && (elf_rand (elf, arsym->as_off) != arsym->as_off in handle_ar()
453 arsym->as_off, arsym->as_name); in handle_ar()
457 printf (gettext ("%s in %s\n"), arsym->as_name, arhdr->ar_name); in handle_ar()
459 ++arsym; in handle_ar()
Dreadelf.c12590 const Elf_Arsym *arsym = elf_getarsym (elf, &narsym); in dump_archive_index() local
12591 if (arsym == NULL) in dump_archive_index()
12607 for (const Elf_Arsym *s = arsym; s < &arsym[narsym - 1]; ++s) in dump_archive_index()
DChangeLog1536 * nm.c (handle_ar): Break on arsym with invalid offset.