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.c260 Elf_Arsym *arsym = elf->state.ar.ar_sym; in elf_getarsym() local
265 arsym[cnt].as_name = str_data; in elf_getarsym()
272 arsym[cnt].as_off = tmp; in elf_getarsym()
276 if (sizeof (arsym[cnt].as_off) < 8 in elf_getarsym()
277 && arsym[cnt].as_off != tmp) in elf_getarsym()
290 arsym[cnt].as_off = bswap_32 ((*u32)[cnt]); in elf_getarsym()
292 arsym[cnt].as_off = (*u32)[cnt]; in elf_getarsym()
294 arsym[cnt].as_hash = _dl_elf_hash (str_data); in elf_getarsym()
307 arsym[n].as_name = NULL; in elf_getarsym()
308 arsym[n].as_off = 0; in elf_getarsym()
[all …]
/external/elfutils/src/
Dnm.c435 Elf_Arsym *arsym = elf_getarsym (elf, NULL); in handle_ar() local
437 if (arsym != NULL) in handle_ar()
444 while (arsym->as_off != 0) in handle_ar()
446 if (arhdr_off != arsym->as_off in handle_ar()
447 && (elf_rand (elf, arsym->as_off) != arsym->as_off in handle_ar()
452 arsym->as_off, arsym->as_name); in handle_ar()
456 printf (_("%s in %s\n"), arsym->as_name, arhdr->ar_name); in handle_ar()
458 ++arsym; in handle_ar()
Dreadelf.c13076 const Elf_Arsym *arsym = elf_getarsym (elf, &narsym); in dump_archive_index() local
13077 if (arsym == NULL) in dump_archive_index()
13092 for (const Elf_Arsym *s = arsym; s < &arsym[narsym - 1]; ++s) in dump_archive_index()
DChangeLog2224 * nm.c (handle_ar): Break on arsym with invalid offset.