Searched defs:elf (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddrti.c92 Elf64_Ehdr *elf; local
94 Elf32_Ehdr *elf; local
131 elf = (void *)lmp->l_addr;
134 dh.dofhp_addr = elf->e_type == ET_DYN ? lmp->l_addr : 0;
H A Ddt_link.c30 #include <elf.h>
983 dt_link_error(dtrace_hdl_t *dtp, Elf *elf, int fd, dt_link_pair_t *bufs, argument
993 if (elf != NULL)
994 (void) elf_end(elf);
1017 Elf *elf = NULL; local
1035 return (dt_link_error(dtp, elf, fd, bufs,
1039 if ((elf = elf_begin(fd, ELF_C_RDWR, NULL)) == NULL) {
1040 return (dt_link_error(dtp, elf, fd, bufs,
1044 switch (elf_kind(elf)) {
1048 return (dt_link_error(dtp, elf, f
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Diccfix.c12 #include <elf.h>
29 * @v elf ELF header
35 static int ICCFIX ( void *elf ) {
36 ELF_EHDR *ehdr = elf;
37 ELF_SHDR *shdr = ( elf + ehdr->e_shoff );
42 char *strings = ( elf + strtab->sh_offset );
85 void *elf; local
103 elf = mmap ( NULL, stat.st_size, ( PROT_READ | PROT_WRITE ),
105 if ( elf == MAP_FAILED ) {
113 eident = elf;
[all...]
/vbox/src/VBox/Additions/common/crOpenGL/
H A Dfakedri_drv.c30 #include <elf.h>
244 Elf *elf; local
251 elf = NULL;
264 elf = elf_begin(fd, ELF_C_READ, NULL);
265 if (elf == NULL) goto err_exit;
268 scn = elf_nextscn(elf, NULL);
272 scn = elf_nextscn(elf, scn);
282 elf_strptr(elf, shdr.sh_link, sym.st_name)) == 0) &&
289 elf_end(elf);
304 if (elf !
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/
H A Ddtrace.c1430 Elf *elf; local
1437 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) {
1442 if (elf_kind(elf) != ELF_K_ELF ||
1443 gelf_getehdr(elf, &ehdr) == NULL) {
1445 (void) elf_end(elf);
1450 (void) elf_end(elf);

Completed in 85 milliseconds