Re: [PATCH] libdwfl: Correctly handle corefile non-contiguous segments

2023-11-14 Thread Aaron Merey
Hi Mark, On Tue, Nov 14, 2023 at 9:03 AM Mark Wielaard wrote: > > > A couple caveats should be mentioned. First, start and end addresses > > of reported modules cannot be assumed to contain segments from only > > that module. This has always been the case however. > > There is dwfl_addrmodule/d

Re: [PATCH] libdwfl: Correctly handle corefile non-contiguous segments

2023-11-14 Thread Mark Wielaard
Hi Aaron, On Sun, 2023-11-12 at 15:16 -0500, Aaron Merey wrote: > It is possible for segments of different shared libaries to be interleaved > in memory such that the segments of one library are located in between > non-contiguous segments of another library. > > For example, this can be seen wit

Re: [PATCH] libdwfl: Correctly handle corefile non-contiguous segments

2023-11-13 Thread Aaron Merey
BTW this patch won't apply as-is. I removed the firefox corefile since I'd rather not send a >50M email to this list :) See branch users/amerey/try-pr30975 if you want to run the code. Aaron On Sun, Nov 12, 2023 at 3:16 PM Aaron Merey wrote: > > It is possible for segments of different shared l