Re: [Toybox] [PATCH] readelf: fix -n for x86-64 ibt/shstk notes.

2024-03-15 Thread enh via Toybox
On Fri, Mar 15, 2024 at 1:46 PM Rob Landley wrote: > Applied, but I don't have a local way to reproduce the issue nor did it > come > with a test. > yeah, i explained a bit in the commit message --- i have since managed to produce a file with a note that has the thing we weren't decoding, but

Re: [Toybox] [PATCH] readelf: fix -n for x86-64 ibt/shstk notes.

2024-03-15 Thread Rob Landley
Applied, but I don't have a local way to reproduce the issue nor did it come with a test. On 3/14/24 19:08, enh via Toybox wrote: > I couldn't work out how to get gcc to actually produce such a thing, but > /bin/dbxtool on my debian box right now has them. I don't seem to have that command. What

[Toybox] [PATCH] readelf: fix -n for x86-64 ibt/shstk notes.

2024-03-14 Thread enh via Toybox
I couldn't work out how to get gcc to actually produce such a thing, but /bin/dbxtool on my debian box right now has them. The big mistake here is that GNU property notes' data is always 8-byte aligned, so we needed to skip that. That lets us get rid of the existing loop termination hack to skip