[Toybox] [PATCH] readelf: add PAC and BTI decoding.

enh enh at google.com
Tue Aug 8 13:37:40 PDT 2023


I've added the x86 ISA requirement too, since that's the other one I see
on my (host!) system, but I'm really just here for arm64 PAC/BTI. There
are others, but YAGNI.

Also remove incorrect TODO comments: j is implicitly non-zero from the
loop (so we _could_ add `, j=1` but it seems redundant), and notematch()
doesn't advance the pointer unless it matches (like strstart()).
---
 toys/other/readelf.c | 31 ++++++++++++++++++++++++++++---
 1 file changed, 28 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-readelf-add-PAC-and-BTI-decoding.patch
Type: text/x-patch
Size: 2925 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20230808/c97b50c4/attachment.bin>


More information about the Toybox mailing list