Home
last modified time | relevance | path

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

/external/elfutils/libelf/
Dgelf_getverdef.c41 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()
Dgelf_update_verdef.c42 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()
Dversion_xlate.h46 GElf_Verdef *ddest; in elf_cvt_Verdef()
47 GElf_Verdef *dsrc; in elf_cvt_Verdef()
50 assert (sizeof (GElf_Verdef) == sizeof (Elf32_Verdef)); in elf_cvt_Verdef()
52 assert (sizeof (GElf_Verdef) == sizeof (Elf64_Verdef)); in elf_cvt_Verdef()
69 if (def_offset > len || len - def_offset < sizeof (GElf_Verdef)) in elf_cvt_Verdef()
73 ddest = (GElf_Verdef *) ((char *) dest + def_offset); in elf_cvt_Verdef()
74 dsrc = (GElf_Verdef *) ((char *) src + def_offset); in elf_cvt_Verdef()
Dgelf.h96 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);
/external/elfutils/src/
Dreadelf.c2561 GElf_Verdef verdef_mem; in handle_symtab()
2562 GElf_Verdef *verdef = gelf_getverdef (verdef_data, 0, in handle_symtab()
2775 GElf_Verdef defmem; in handle_verdef()
2776 GElf_Verdef *def = gelf_getverdef (data, offset, &defmem); in handle_verdef()
2882 GElf_Verdef defmem; in handle_versym()
2883 GElf_Verdef *def; in handle_versym()
2980 GElf_Verdef defmem; in handle_versym()
2981 GElf_Verdef *def = gelf_getverdef (defdata, offset, &defmem); in handle_versym()
Delflint.c3266 GElf_Verdef defmem; in check_verdef()
3267 GElf_Verdef *def = gelf_getverdef (data, offset, &defmem); in check_verdef()