Home
last modified time | relevance | path

Searched refs:GElf_Verneed (Results 1 – 7 of 7) sorted by relevance

/external/elfutils/libelf/
Dgelf_getverneed.c41 GElf_Verneed *
42 gelf_getverneed (Elf_Data *data, int offset, GElf_Verneed *dst) in gelf_getverneed()
44 GElf_Verneed *result; in gelf_getverneed()
58 assert (sizeof (GElf_Verneed) == sizeof (Elf32_Verneed)); in gelf_getverneed()
59 assert (sizeof (GElf_Verneed) == sizeof (Elf64_Verneed)); in gelf_getverneed()
60 assert (sizeof (GElf_Verneed) == sizeof (Elf32_Vernaux)); in gelf_getverneed()
61 assert (sizeof (GElf_Verneed) == sizeof (Elf64_Vernaux)); in gelf_getverneed()
68 || unlikely (offset + sizeof (GElf_Verneed) > data->d_size) in gelf_getverneed()
69 || unlikely (offset % sizeof (GElf_Verneed) != 0)) in gelf_getverneed()
75 result = (GElf_Verneed *) memcpy (dst, (char *) data->d_buf + offset, in gelf_getverneed()
[all …]
Dgelf_update_verneed.c42 gelf_update_verneed (Elf_Data *data, int offset, GElf_Verneed *src) in gelf_update_verneed()
50 assert (sizeof (GElf_Verneed) == sizeof (Elf32_Verneed)); in gelf_update_verneed()
51 assert (sizeof (GElf_Verneed) == sizeof (Elf64_Verneed)); in gelf_update_verneed()
55 || unlikely ((offset + sizeof (GElf_Verneed)) > data_scn->d.d_size)) in gelf_update_verneed()
70 memcpy ((char *) data_scn->d.d_buf + offset, src, sizeof (GElf_Verneed)); in gelf_update_verneed()
Dversion_xlate.h145 GElf_Verneed *ndest; in elf_cvt_Verneed()
146 GElf_Verneed *nsrc; in elf_cvt_Verneed()
149 assert (sizeof (GElf_Verneed) == sizeof (Elf32_Verneed)); in elf_cvt_Verneed()
151 assert (sizeof (GElf_Verneed) == sizeof (Elf64_Verneed)); in elf_cvt_Verneed()
168 if (need_offset > len || len - need_offset < sizeof (GElf_Verneed)) in elf_cvt_Verneed()
172 ndest = (GElf_Verneed *) ((char *) dest + need_offset); in elf_cvt_Verneed()
173 nsrc = (GElf_Verneed *) ((char *) src + need_offset); in elf_cvt_Verneed()
Dgelf.h102 typedef Elf64_Verneed GElf_Verneed; typedef
285 extern GElf_Verneed *gelf_getverneed (Elf_Data *__data, int __offset,
286 GElf_Verneed *__dst);
290 GElf_Verneed *__src);
Dgelf_getvernaux.c76 sizeof (GElf_Verneed)); in gelf_getvernaux()
/external/elfutils/src/
Dreadelf.c2541 GElf_Verneed verneed_mem; in handle_symtab()
2542 GElf_Verneed *verneed = gelf_getverneed (verneed_data, 0, in handle_symtab()
2732 GElf_Verneed needmem; in handle_verneed()
2733 GElf_Verneed *need = gelf_getverneed (data, offset, &needmem); in handle_verneed()
2949 GElf_Verneed needmem; in handle_versym()
2950 GElf_Verneed *need; in handle_versym()
3049 GElf_Verneed needmem; in handle_versym()
3050 GElf_Verneed *need = gelf_getverneed (needdata, offset, in handle_versym()
Delflint.c3105 GElf_Verneed needmem; in check_verneed()
3106 GElf_Verneed *need = gelf_getverneed (data, offset, &needmem); in check_verneed()