[Toybox] [PATCH] readelf: decode RISCV_ATTRIBUTES sections.

enh enh at google.com
Fri Nov 3 17:35:51 PDT 2023


(to be clear: if you want the arm32 attribute decoding too, i'm happy
to write that. just be aware that it's going to be a big switch rather
than the regular "odd or even?" for riscv, and there are quite a lot
of arm32 attributes:
https://llvm.org/doxygen/ARMAttributeParser_8cpp_source.html)

On Fri, Nov 3, 2023 at 5:33 PM enh <enh at google.com> wrote:
>
> arc, arm32, and csky all have these sections too, but I've never seen
> arc or csky in real life, and arm32 isn't as regular as riscv's "odd vs
> even" decoding, so we should probably wait until someone actually needs
> to decode those before adding the decoder?
> ---
>  toys/other/readelf.c | 88 +++++++++++++++++++++++++++++++++++++++++---
>  1 file changed, 83 insertions(+), 5 deletions(-)


More information about the Toybox mailing list