[Bug libdw/26177] eu-unstrip -n -k fails on kernels 4.14-4.19
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Sun Jun 28 13:35:57 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=26177
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
Thanks for the report, analysis and testing.
commit eff30a6dabe52ac77ee5c6a0d31853fc8e3aeadb
Author: Mark Wielaard <mark@klomp.org>
Date: Sun Jun 28 15:27:25 2020 +0200
libdwfl: read_address should use increasing address in intuit_kernel_bounds
In kernels from 4.14 up to 4.19 in /proc/kallsyms there are special
__entry_SYSCALL_64_trampoline symbols. The problem is that they come
after the last kernel address, but before the module addresses.
And they are (much) smaller than the start address we found. This
confuses intuit_kernel_bounds and makes it fail.
Make sure to check read_address returns an increasing address when
searching for the end.
https://sourceware.org/bugzilla/show_bug.cgi?id=26177
Reported-by: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Mark Wielaard <mark@klomp.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Elfutils-devel
mailing list