Re: [PATCH] libdwfl: Calculate addr to read by hand in link_map.c read_addrs.

2022-01-03 Thread Mark Wielaard
On Fri, Dec 24, 2021 at 02:06:08AM +0100, Mark Wielaard wrote: > The gcc undefined sanitizer doesn't like the trick we use to calculate > the (possibly) unaligned addresses to read. So calculate them by hand > as unsigned char pointers. > > https://sourceware.org/bugzilla/show_bug.cgi?id=28720 Pu

[PATCH] libdwfl: Calculate addr to read by hand in link_map.c read_addrs.

2021-12-23 Thread Mark Wielaard
The gcc undefined sanitizer doesn't like the trick we use to calculate the (possibly) unaligned addresses to read. So calculate them by hand as unsigned char pointers. https://sourceware.org/bugzilla/show_bug.cgi?id=28720 Signed-off-by: Mark Wielaard --- libdwfl/ChangeLog | 4 libdwfl/li