Symbol: Elf
lib/libelf/_libelf.h
204
Elf *_libelf_allocate_elf(void);
lib/libelf/_libelf.h
205
Elf_Scn *_libelf_allocate_scn(Elf *_e, size_t _ndx);
lib/libelf/_libelf.h
206
Elf_Arhdr *_libelf_ar_gethdr(Elf *_e);
lib/libelf/_libelf.h
207
Elf *_libelf_ar_open(Elf *_e, int _reporterror);
lib/libelf/_libelf.h
208
Elf *_libelf_ar_open_member(int _fd, Elf_Cmd _c, Elf *_ar);
lib/libelf/_libelf.h
209
Elf_Arsym *_libelf_ar_process_bsd_symtab(Elf *_ar, size_t *_dst);
lib/libelf/_libelf.h
210
Elf_Arsym *_libelf_ar_process_svr4_symtab(Elf *_ar, size_t *_dst);
lib/libelf/_libelf.h
211
long _libelf_checksum(Elf *_e, int _elfclass);
lib/libelf/_libelf.h
212
void *_libelf_ehdr(Elf *_e, int _elfclass, int _allocate);
lib/libelf/_libelf.h
213
int _libelf_elfmachine(Elf *_e);
lib/libelf/_libelf.h
219
void *_libelf_getphdr(Elf *_e, int _elfclass);
lib/libelf/_libelf.h
221
void _libelf_init_elf(Elf *_e, Elf_Kind _kind);
lib/libelf/_libelf.h
222
int _libelf_load_section_headers(Elf *e, void *ehdr);
lib/libelf/_libelf.h
224
Elf *_libelf_memory(unsigned char *_image, size_t _sz, int _reporterror);
lib/libelf/_libelf.h
226
void *_libelf_newphdr(Elf *_e, int _elfclass, size_t _count);
lib/libelf/_libelf.h
227
Elf *_libelf_open_object(int _fd, Elf_Cmd _c, int _reporterror);
lib/libelf/_libelf.h
229
void _libelf_release_elf(Elf *_e);
lib/libelf/_libelf.h
231
int _libelf_setphnum(Elf *_e, void *_eh, int _elfclass, size_t _phnum);
lib/libelf/_libelf.h
232
int _libelf_setshnum(Elf *_e, void *_eh, int _elfclass, size_t _shnum);
lib/libelf/_libelf.h
233
int _libelf_setshstrndx(Elf *_e, void *_eh, int _elfclass,
lib/libelf/_libelf.h
91
Elf *e_parent; /* non-NULL for archive members */
lib/libelf/_libelf_ar.h
53
char *_libelf_ar_get_translated_name(const struct ar_hdr *_arh, Elf *_ar);
lib/libelf/elf_begin.c
33
Elf *
lib/libelf/elf_begin.c
34
elf_begin(int fd, Elf_Cmd c, Elf *a)
lib/libelf/elf_begin.c
36
Elf *e;
lib/libelf/elf_cntl.c
34
elf_cntl(Elf *e, Elf_Cmd c)
lib/libelf/elf_data.c
174
Elf *e;
lib/libelf/elf_data.c
217
Elf *e;
lib/libelf/elf_data.c
40
Elf *e;
lib/libelf/elf_end.c
40
elf_end(Elf *e)
lib/libelf/elf_end.c
42
Elf *sv;
lib/libelf/elf_flag.c
110
elf_flagelf(Elf *e, Elf_Cmd c, unsigned int flags)
lib/libelf/elf_flag.c
143
elf_flagphdr(Elf *e, Elf_Cmd c, unsigned int flags)
lib/libelf/elf_flag.c
81
elf_flagehdr(Elf *e, Elf_Cmd c, unsigned int flags)
lib/libelf/elf_getarhdr.c
34
elf_getarhdr(Elf *e)
lib/libelf/elf_getarsym.c
34
elf_getarsym(Elf *ar, size_t *ptr)
lib/libelf/elf_getbase.c
35
elf_getbase(Elf *e)
lib/libelf/elf_getident.c
36
elf_getident(Elf *e, size_t *sz)
lib/libelf/elf_kind.c
34
elf_kind(Elf *e)
lib/libelf/elf_memory.c
33
Elf *
lib/libelf/elf_next.c
36
elf_next(Elf *e)
lib/libelf/elf_next.c
39
Elf *parent;
lib/libelf/elf_open.c
37
Elf *
lib/libelf/elf_open.c
53
Elf *
lib/libelf/elf_phnum.c
35
_libelf_getphdrnum(Elf *e, size_t *phnum)
lib/libelf/elf_phnum.c
55
elf_getphdrnum(Elf *e, size_t *phnum)
lib/libelf/elf_phnum.c
62
elf_getphnum(Elf *e, size_t *phnum)
lib/libelf/elf_rand.c
36
elf_rand(Elf *ar, off_t offset)
lib/libelf/elf_rawfile.c
34
elf_rawfile(Elf *e, size_t *sz)
lib/libelf/elf_scn.c
132
elf_getscn(Elf *e, size_t index)
lib/libelf/elf_scn.c
171
elf_newscn(Elf *e)
lib/libelf/elf_scn.c
226
elf_nextscn(Elf *e, Elf_Scn *s)
lib/libelf/elf_scn.c
45
_libelf_load_section_headers(Elf *e, void *ehdr)
lib/libelf/elf_shnum.c
35
_libelf_getshdrnum(Elf *e, size_t *shnum)
lib/libelf/elf_shnum.c
55
elf_getshdrnum(Elf *e, size_t *shnum)
lib/libelf/elf_shnum.c
62
elf_getshnum(Elf *e, size_t *shnum)
lib/libelf/elf_shstrndx.c
35
_libelf_getshdrstrndx(Elf *e, size_t *strndx)
lib/libelf/elf_shstrndx.c
55
elf_getshdrstrndx(Elf *e, size_t *strndx)
lib/libelf/elf_shstrndx.c
61
elf_getshstrndx(Elf *e, size_t *strndx) /* Deprecated API. */
lib/libelf/elf_shstrndx.c
67
elf_setshstrndx(Elf *e, size_t strndx)
lib/libelf/elf_strptr.c
39
elf_strptr(Elf *e, size_t scndx, size_t offset)
lib/libelf/elf_update.c
1032
_libelf_write_elf(Elf *e, off_t newsize, struct _Elf_Extent_List *extents)
lib/libelf/elf_update.c
110
_libelf_compute_section_extents(Elf *e, Elf_Scn *s, off_t rc)
lib/libelf/elf_update.c
1197
elf_update(Elf *e, Elf_Cmd c)
lib/libelf/elf_update.c
448
_libelf_resync_sections(Elf *e, off_t rc, struct _Elf_Extent_List *extents)
lib/libelf/elf_update.c
509
_libelf_resync_elf(Elf *e, struct _Elf_Extent_List *extents)
lib/libelf/elf_update.c
718
_libelf_write_scn(Elf *e, unsigned char *nf, struct _Elf_Extent *ex)
lib/libelf/elf_update.c
845
_libelf_write_ehdr(Elf *e, unsigned char *nf, struct _Elf_Extent *ex)
lib/libelf/elf_update.c
889
_libelf_write_phdr(Elf *e, unsigned char *nf, struct _Elf_Extent *ex)
lib/libelf/elf_update.c
951
_libelf_write_shdr(Elf *e, unsigned char *nf, struct _Elf_Extent *ex)
lib/libelf/gelf.h
73
long gelf_checksum(Elf *_elf);
lib/libelf/gelf.h
74
size_t gelf_fsize(Elf *_elf, Elf_Type _type, size_t _count,
lib/libelf/gelf.h
76
int gelf_getclass(Elf *_elf);
lib/libelf/gelf.h
78
GElf_Ehdr *gelf_getehdr(Elf *_elf, GElf_Ehdr *_dst);
lib/libelf/gelf.h
79
GElf_Phdr *gelf_getphdr(Elf *_elf, int _index, GElf_Phdr *_dst);
lib/libelf/gelf.h
86
void * gelf_newehdr(Elf *_elf, int _class);
lib/libelf/gelf.h
87
void * gelf_newphdr(Elf *_elf, size_t _phnum);
lib/libelf/gelf.h
89
int gelf_update_ehdr(Elf *_elf, GElf_Ehdr *_src);
lib/libelf/gelf.h
90
int gelf_update_phdr(Elf *_elf, int _index, GElf_Phdr *_src);
lib/libelf/gelf.h
97
Elf_Data *gelf_xlatetof(Elf *_elf, Elf_Data *_dst, const Elf_Data *_src, unsigned int _encode);
lib/libelf/gelf.h
98
Elf_Data *gelf_xlatetom(Elf *_elf, Elf_Data *_dst, const Elf_Data *_src, unsigned int _encode);
lib/libelf/gelf_cap.c
40
Elf *e;
lib/libelf/gelf_cap.c
99
Elf *e;
lib/libelf/gelf_checksum.c
35
elf32_checksum(Elf *e)
lib/libelf/gelf_checksum.c
41
elf64_checksum(Elf *e)
lib/libelf/gelf_checksum.c
47
gelf_checksum(Elf *e)
lib/libelf/gelf_dyn.c
100
Elf *e;
lib/libelf/gelf_dyn.c
40
Elf *e;
lib/libelf/gelf_ehdr.c
102
elf64_newehdr(Elf *e)
lib/libelf/gelf_ehdr.c
108
gelf_newehdr(Elf *e, int ec)
lib/libelf/gelf_ehdr.c
119
gelf_update_ehdr(Elf *e, GElf_Ehdr *s)
lib/libelf/gelf_ehdr.c
39
elf32_getehdr(Elf *e)
lib/libelf/gelf_ehdr.c
45
elf64_getehdr(Elf *e)
lib/libelf/gelf_ehdr.c
51
gelf_getehdr(Elf *e, GElf_Ehdr *d)
lib/libelf/gelf_ehdr.c
96
elf32_newehdr(Elf *e)
lib/libelf/gelf_fsize.c
47
gelf_fsize(Elf *e, Elf_Type t, size_t c, unsigned int v)
lib/libelf/gelf_getclass.c
34
gelf_getclass(Elf *e)
lib/libelf/gelf_move.c
103
Elf *e;
lib/libelf/gelf_move.c
40
Elf *e;
lib/libelf/gelf_phdr.c
101
elf32_newphdr(Elf *e, size_t count)
lib/libelf/gelf_phdr.c
107
elf64_newphdr(Elf *e, size_t count)
lib/libelf/gelf_phdr.c
113
gelf_newphdr(Elf *e, size_t count)
lib/libelf/gelf_phdr.c
123
gelf_update_phdr(Elf *e, int ndx, GElf_Phdr *s)
lib/libelf/gelf_phdr.c
37
elf32_getphdr(Elf *e)
lib/libelf/gelf_phdr.c
43
elf64_getphdr(Elf *e)
lib/libelf/gelf_phdr.c
49
gelf_getphdr(Elf *e, int index, GElf_Phdr *d)
lib/libelf/gelf_rel.c
102
Elf *e;
lib/libelf/gelf_rel.c
40
Elf *e;
lib/libelf/gelf_rela.c
103
Elf *e;
lib/libelf/gelf_rela.c
40
Elf *e;
lib/libelf/gelf_shdr.c
93
Elf *e;
lib/libelf/gelf_sym.c
102
Elf *e;
lib/libelf/gelf_sym.c
40
Elf *e;
lib/libelf/gelf_syminfo.c
38
Elf *e;
lib/libelf/gelf_syminfo.c
99
Elf *e;
lib/libelf/gelf_symshndx.c
39
Elf *e;
lib/libelf/gelf_symshndx.c
92
Elf *e;
lib/libelf/gelf_xlate.c
64
gelf_xlatetom(Elf *e, Elf_Data *dst, const Elf_Data *src,
lib/libelf/gelf_xlate.c
75
gelf_xlatetof(Elf *e, Elf_Data *dst, const Elf_Data *src,
lib/libelf/libelf.h
302
Elf *elf_begin(int _fd, Elf_Cmd _cmd, Elf *_elf);
lib/libelf/libelf.h
303
int elf_cntl(Elf *_elf, Elf_Cmd _cmd);
lib/libelf/libelf.h
304
int elf_end(Elf *_elf);
lib/libelf/libelf.h
312
unsigned int elf_flagehdr(Elf *_elf, Elf_Cmd _cmd, unsigned int _flags);
lib/libelf/libelf.h
313
unsigned int elf_flagelf(Elf *_elf, Elf_Cmd _cmd, unsigned int _flags);
lib/libelf/libelf.h
314
unsigned int elf_flagphdr(Elf *_elf, Elf_Cmd _cmd, unsigned int _flags);
lib/libelf/libelf.h
317
Elf_Arhdr *elf_getarhdr(Elf *_elf);
lib/libelf/libelf.h
318
Elf_Arsym *elf_getarsym(Elf *_elf, size_t *_ptr);
lib/libelf/libelf.h
319
off_t elf_getbase(Elf *_elf);
lib/libelf/libelf.h
321
char *elf_getident(Elf *_elf, size_t *_ptr);
lib/libelf/libelf.h
322
int elf_getphdrnum(Elf *_elf, size_t *_dst);
lib/libelf/libelf.h
323
int elf_getphnum(Elf *_elf, size_t *_dst); /* Deprecated */
lib/libelf/libelf.h
324
Elf_Scn *elf_getscn(Elf *_elf, size_t _index);
lib/libelf/libelf.h
325
int elf_getshdrnum(Elf *_elf, size_t *_dst);
lib/libelf/libelf.h
326
int elf_getshnum(Elf *_elf, size_t *_dst); /* Deprecated */
lib/libelf/libelf.h
327
int elf_getshdrstrndx(Elf *_elf, size_t *_dst);
lib/libelf/libelf.h
328
int elf_getshstrndx(Elf *_elf, size_t *_dst); /* Deprecated */
lib/libelf/libelf.h
330
Elf_Kind elf_kind(Elf *_elf);
lib/libelf/libelf.h
331
Elf *elf_memory(char *_image, size_t _size);
lib/libelf/libelf.h
334
Elf_Scn *elf_newscn(Elf *_elf);
lib/libelf/libelf.h
335
Elf_Scn *elf_nextscn(Elf *_elf, Elf_Scn *_scn);
lib/libelf/libelf.h
336
Elf_Cmd elf_next(Elf *_elf);
lib/libelf/libelf.h
337
Elf *elf_open(int _fd);
lib/libelf/libelf.h
338
Elf *elf_openmemory(char *_image, size_t _size);
lib/libelf/libelf.h
339
off_t elf_rand(Elf *_elf, off_t _off);
lib/libelf/libelf.h
341
char *elf_rawfile(Elf *_elf, size_t *_size);
lib/libelf/libelf.h
342
int elf_setshstrndx(Elf *_elf, size_t _shnum);
lib/libelf/libelf.h
343
char *elf_strptr(Elf *_elf, size_t _section, size_t _offset);
lib/libelf/libelf.h
344
off_t elf_update(Elf *_elf, Elf_Cmd _cmd);
lib/libelf/libelf.h
347
long elf32_checksum(Elf *_elf);
lib/libelf/libelf.h
350
Elf32_Ehdr *elf32_getehdr(Elf *_elf);
lib/libelf/libelf.h
351
Elf32_Phdr *elf32_getphdr(Elf *_elf);
lib/libelf/libelf.h
353
Elf32_Ehdr *elf32_newehdr(Elf *_elf);
lib/libelf/libelf.h
354
Elf32_Phdr *elf32_newphdr(Elf *_elf, size_t _count);
lib/libelf/libelf.h
360
long elf64_checksum(Elf *_elf);
lib/libelf/libelf.h
363
Elf64_Ehdr *elf64_getehdr(Elf *_elf);
lib/libelf/libelf.h
364
Elf64_Phdr *elf64_getphdr(Elf *_elf);
lib/libelf/libelf.h
366
Elf64_Ehdr *elf64_newehdr(Elf *_elf);
lib/libelf/libelf.h
367
Elf64_Phdr *elf64_newphdr(Elf *_elf, size_t _count);
lib/libelf/libelf_allocate.c
147
_libelf_allocate_scn(Elf *e, size_t ndx)
lib/libelf/libelf_allocate.c
170
Elf *e;
lib/libelf/libelf_allocate.c
41
Elf *
lib/libelf/libelf_allocate.c
44
Elf *e;
lib/libelf/libelf_allocate.c
63
_libelf_init_elf(Elf *e, Elf_Kind kind)
lib/libelf/libelf_allocate.c
80
_libelf_release_elf(Elf *e)
lib/libelf/libelf_ar.c
109
_libelf_ar_gethdr(Elf *e)
lib/libelf/libelf_ar.c
111
Elf *parent;
lib/libelf/libelf_ar.c
207
Elf *
lib/libelf/libelf_ar.c
208
_libelf_ar_open_member(int fd, Elf_Cmd c, Elf *elf)
lib/libelf/libelf_ar.c
210
Elf *e;
lib/libelf/libelf_ar.c
317
_libelf_ar_process_bsd_symtab(Elf *e, size_t *count)
lib/libelf/libelf_ar.c
431
_libelf_ar_process_svr4_symtab(Elf *e, size_t *count)
lib/libelf/libelf_ar_util.c
228
Elf *
lib/libelf/libelf_ar_util.c
229
_libelf_ar_open(Elf *e, int reporterror)
lib/libelf/libelf_ar_util.c
80
_libelf_ar_get_translated_name(const struct ar_hdr *arh, Elf *ar)
lib/libelf/libelf_checksum.c
46
_libelf_checksum(Elf *e, int elfclass)
lib/libelf/libelf_ehdr.c
106
_libelf_ehdr(Elf *e, int ec, int allocate)
lib/libelf/libelf_ehdr.c
41
_libelf_load_extended(Elf *e, int ec, uint64_t shoff, uint16_t phnum,
lib/libelf/libelf_ehdr.c
92
Elf##SZ##_Ehdr *eh = (E); \
lib/libelf/libelf_elfmachine.c
39
_libelf_elfmachine(Elf *e)
lib/libelf/libelf_extended.c
108
_libelf_setphnum(Elf *e, void *eh, int ec, size_t phnum)
lib/libelf/libelf_extended.c
38
_libelf_getscn0(Elf *e)
lib/libelf/libelf_extended.c
49
_libelf_setshnum(Elf *e, void *eh, int ec, size_t shnum)
lib/libelf/libelf_extended.c
79
_libelf_setshstrndx(Elf *e, void *eh, int ec, size_t shstrndx)
lib/libelf/libelf_memory.c
41
Elf *
lib/libelf/libelf_memory.c
44
Elf *e;
lib/libelf/libelf_open.c
123
Elf *
lib/libelf/libelf_open.c
126
Elf *e;
lib/libelf/libelf_phdr.c
113
_libelf_newphdr(Elf *e, int ec, size_t count)
lib/libelf/libelf_phdr.c
37
_libelf_getphdr(Elf *e, int ec)
lib/libelf/libelf_shdr.c
37
Elf *e;
usr.bin/ctfdump/ctfdump.c
124
Elf *e;
usr.sbin/btrace/ksyms.c
230
Elf *elf;
usr.sbin/btrace/ksyms.c
365
Elf *elf;
usr.sbin/btrace/ksyms.c
62
read_syms(Elf *elf, const void *offset, const void *dtrv_va)
usr.sbin/rdsetroot/rdsetroot.c
36
Elf *e;