Searched refs:GElf_Verdef (Results 1 – 9 of 9) sorted by relevance
/third_party/elfutils/libelf/ |
D | gelf_getverdef.c | 41 GElf_Verdef * 42 gelf_getverdef (Elf_Data *data, int offset, GElf_Verdef *dst) in gelf_getverdef() 44 GElf_Verdef *result; in gelf_getverdef() 57 assert (sizeof (GElf_Verdef) == sizeof (Elf32_Verdef)); in gelf_getverdef() 58 assert (sizeof (GElf_Verdef) == sizeof (Elf64_Verdef)); in gelf_getverdef() 65 || unlikely (offset + sizeof (GElf_Verdef) > data->d_size) in gelf_getverdef() 66 || unlikely (offset % __alignof__ (GElf_Verdef) != 0)) in gelf_getverdef() 72 result = (GElf_Verdef *) memcpy (dst, (char *) data->d_buf + offset, in gelf_getverdef() 73 sizeof (GElf_Verdef)); in gelf_getverdef()
|
D | gelf_update_verdef.c | 42 gelf_update_verdef (Elf_Data *data, int offset, GElf_Verdef *src) in gelf_update_verdef() 50 assert (sizeof (GElf_Verdef) == sizeof (Elf32_Verdef)); in gelf_update_verdef() 51 assert (sizeof (GElf_Verdef) == sizeof (Elf64_Verdef)); in gelf_update_verdef() 55 || unlikely ((offset + sizeof (GElf_Verdef)) > data_scn->d.d_size)) in gelf_update_verdef() 70 memcpy ((char *) data_scn->d.d_buf + offset, src, sizeof (GElf_Verdef)); in gelf_update_verdef()
|
D | version_xlate.h | 47 GElf_Verdef *ddest; in elf_cvt_Verdef() 48 GElf_Verdef *dsrc; in elf_cvt_Verdef() 51 assert (sizeof (GElf_Verdef) == sizeof (Elf32_Verdef)); in elf_cvt_Verdef() 53 assert (sizeof (GElf_Verdef) == sizeof (Elf64_Verdef)); in elf_cvt_Verdef() 71 || len - def_offset < sizeof (GElf_Verdef) in elf_cvt_Verdef() 72 || (def_offset & (__alignof__ (GElf_Verdef) - 1)) != 0) in elf_cvt_Verdef() 76 ddest = (GElf_Verdef *) ((char *) dest + def_offset); in elf_cvt_Verdef() 77 dsrc = (GElf_Verdef *) ((char *) src + def_offset); in elf_cvt_Verdef()
|
D | gelf.h | 96 typedef Elf64_Verdef GElf_Verdef; typedef 302 extern GElf_Verdef *gelf_getverdef (Elf_Data *__data, int __offset, 303 GElf_Verdef *__dst); 307 GElf_Verdef *__src);
|
/third_party/libbpf/src/ |
D | elf.c | 255 GElf_Verdef verdef; in elf_get_vername() 273 while (memcpy(&verdef, (void *)iter->verdefs->d_buf + offset, sizeof(GElf_Verdef)) != NULL) { in elf_get_vername()
|
D | libbpf_internal.h | 54 } GElf_Verdef; typedef
|
/third_party/libabigail/src/ |
D | abg-elf-helpers.cc | 728 GElf_Verdef verdef_mem; in get_version_definition_for_versym() 729 GElf_Verdef* verdef = gelf_getverdef(verdef_data, 0, &verdef_mem); in get_version_definition_for_versym()
|
/third_party/elfutils/src/ |
D | readelf.c | 2678 GElf_Verdef verdef_mem; in handle_symtab() 2679 GElf_Verdef *verdef = gelf_getverdef (verdef_data, 0, in handle_symtab() 2893 GElf_Verdef defmem; in handle_verdef() 2894 GElf_Verdef *def = gelf_getverdef (data, offset, &defmem); in handle_verdef() 2999 GElf_Verdef defmem; in handle_versym() 3000 GElf_Verdef *def; in handle_versym() 3097 GElf_Verdef defmem; in handle_versym() 3098 GElf_Verdef *def = gelf_getverdef (defdata, offset, &defmem); in handle_versym()
|
D | elflint.c | 3276 GElf_Verdef defmem; in check_verdef() 3277 GElf_Verdef *def = gelf_getverdef (data, offset, &defmem); in check_verdef()
|