for (dent = (Elf64_Dyn *)((char *)elfbase + dynsect->sh_offset); dent->d_tag != DT_NULL; dent++) {
if (dent->d_tag == DT_SONAME) {
printf("%s\n", dynname + dent->d_un.d_val);
for (dent = (Elf64_Dyn *)((char *)elfbase + dynsect->sh_offset); dent->d_tag != DT_NULL; dent++) {
if (dent->d_tag == DT_SONAME) {
printf("%s\n", dynname + dent->d_un.d_val);