Home
last modified time | relevance | path

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

/third_party/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.h170 GElf_Verneed *ndest; in elf_cvt_Verneed()
171 GElf_Verneed *nsrc; in elf_cvt_Verneed()
174 assert (sizeof (GElf_Verneed) == sizeof (Elf32_Verneed)); in elf_cvt_Verneed()
176 assert (sizeof (GElf_Verneed) == sizeof (Elf64_Verneed)); in elf_cvt_Verneed()
194 || len - need_offset < sizeof (GElf_Verneed) in elf_cvt_Verneed()
195 || (need_offset & (__alignof__ (GElf_Verneed) - 1)) != 0) in elf_cvt_Verneed()
199 ndest = (GElf_Verneed *) ((char *) dest + need_offset); in elf_cvt_Verneed()
200 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()
/third_party/libabigail/src/
Dabg-elf-helpers.cc793 GElf_Verneed verneed_mem; in get_version_needed_for_versym()
794 GElf_Verneed* verneed = gelf_getverneed(verneed_data, 0, &verneed_mem); in get_version_needed_for_versym()
/third_party/elfutils/src/
Dreadelf.c2618 GElf_Verneed verneed_mem; in handle_symtab()
2619 GElf_Verneed *verneed = gelf_getverneed (verneed_data, 0, in handle_symtab()
2816 GElf_Verneed needmem; in handle_verneed()
2817 GElf_Verneed *need = gelf_getverneed (data, offset, &needmem); in handle_verneed()
3031 GElf_Verneed needmem; in handle_versym()
3032 GElf_Verneed *need; in handle_versym()
3131 GElf_Verneed needmem; in handle_versym()
3132 GElf_Verneed *need = gelf_getverneed (needdata, offset, in handle_versym()
Delflint.c3115 GElf_Verneed needmem; in check_verneed()
3116 GElf_Verneed *need = gelf_getverneed (data, offset, &needmem); in check_verneed()