summaryrefslogtreecommitdiffstats
path: root/tests/deleted-lib.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix resolving ELF symbols for live PIDs with deleted filesJan Kratochvil2014-08-291-0/+27
For deleted shared library files the offsets to the symbol table were calculated wrongly from the phdrs because the main_bias wasn't taken into account. Formerly shared libraries did not get resolved properly: #2 0x00007fc4d86c56d6 #3 0x0000000000400938 main Fixed elfutils produce: #2 0x00007f61094876d6 libfunc #3 0x0000000000400938 main Signed-off-by: Jan Kratochvil <[email protected]>