Home
last modified time | relevance | path

Searched refs:dm_elf (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_module.c509 if (elf_getshdrstrndx(dmp->dm_elf, &shstrs) == -1) in dt_module_load_sect()
512 for (sp = NULL; (sp = elf_nextscn(dmp->dm_elf, sp)) != NULL; ) { in dt_module_load_sect()
514 (s = elf_strptr(dmp->dm_elf, shstrs, sh.sh_name)) == NULL) in dt_module_load_sect()
921 (void) elf_end(dmp->dm_elf); in dt_module_unload()
922 dmp->dm_elf = NULL; in dt_module_unload()
1076 dmp->dm_elf = elf_begin(fd, ELF_C_READ, NULL); in dt_module_update()
1077 err = elf_cntl(dmp->dm_elf, ELF_C_FDREAD); in dt_module_update()
1080 if (dmp->dm_elf == NULL || err == -1 || in dt_module_update()
1081 elf_getshdrstrndx(dmp->dm_elf, &shstrs) == -1) { in dt_module_update()
1088 switch (gelf_getclass(dmp->dm_elf)) { in dt_module_update()
[all …]
H A Ddt_impl.h114 Elf *dm_elf; /* libelf handle for module object */ member