I have been single stepping through maybe_add_rpath_introspection_paths() on riscv64.
strtab is set from this value of dyn:
dyn = { .d_tag = 0x5, .dun = { .d_val = 0xbe8, .d_ptr = 0xbe8}, }
dyn.dptr is not a valid pointer in memory.
obdump -S -D /usr/bin/gnome_shell shows
* section .dynstr starting at 0xbe8. * section .dynamic starting at 0x4d50
But this does not imply that the sections are loaded to these addresses. The value of _DYNAMIC on my system was 0x2aaaaed50 and not 0x4d50.
I have been single stepping through maybe_add_ rpath_introspec tion_paths( ) on riscv64.
strtab is set from this value of dyn:
dyn = {
.d_tag = 0x5,
.dun = { .d_val = 0xbe8, .d_ptr = 0xbe8},
}
dyn.dptr is not a valid pointer in memory.
obdump -S -D /usr/bin/ gnome_shell shows
* section .dynstr starting at 0xbe8.
* section .dynamic starting at 0x4d50
But this does not imply that the sections are loaded to these addresses.
The value of _DYNAMIC on my system was 0x2aaaaed50 and not 0x4d50.