Re: [PATCH 0/4] libdwfl: make dwfl_addrmodule work for Linux kernel modules

2019-12-18 Thread Mark Wielaard
On Thu, 2019-12-12 at 21:03 -0800, Omar Sandoval wrote: > Reading the kernel code, the main sections are indeed contiguous. So > this was entirely my bug. Sorry for the noise! > > On the bright side, patch 2 ("libdwfl: remove broken coalescing logic in > dwfl_report_segment") does seem like a legi

Re: [PATCH 0/4] libdwfl: make dwfl_addrmodule work for Linux kernel modules

2019-12-12 Thread Omar Sandoval
On Wed, Dec 11, 2019 at 05:29:42PM -0800, Omar Sandoval wrote: > From: Omar Sandoval > > Hello, > > I recently encountered a bug that dwfl_addrmodule doesn't work correctly > for Linux kernel modules. This is because each section of a kernel > module is allocated independently, so sections from