Y
Hacker News
new
|
ask
|
show
|
jobs
by
cryptonector
782 days ago
> Linux: Use dl_iterate_phdr to iterate over the loaded modules, once you find one that the raw address is contained in, .dlpi_addr on the dl_phdr_info struct will be the base address.
Er, just use `dladdr()`.