[PATCH] libebl: ebl_object_note print 32bit annobin address ranges correctly
Mark Wielaard
mark@klomp.org
Tue Feb 27 14:58:31 GMT 2024
Hi,
On Wed, 2024-02-21 at 21:59 +0100, Mark Wielaard wrote:
> Annobin address ranges were always printed as if they were 64bit wide
> because addr_size was set to twice the size. This was done because the
> note description size should contain two addresses. Fix this by setting
> the address size to just one address and then check that descsz is
> twice that.
>
> * libebl/eblobjnote.c (ebl_object_note): Set addr_size to one
> ELF_T_ADDR. Check descsz equals two times addr_size.
After a quick chat with Aaron on irc I pushed this.
Cheers,
Mark
More information about the Elfutils-devel
mailing list