On Sat, Aug 17, 2024 at 12:47:03AM +0200, Mark Wielaard wrote:
> Hi,
>
> On Wed, Aug 14, 2024 at 04:51:17PM +0800, Kuan-Ying Lee wrote:
> > Patch 1:
> > - Add MTE related regset in core note
> > Patch 2:
> > - Add PAC related regset in core note
> > Patch 3:
> > - Add some core note types name
>
> This look good. Thanks. For elf.h we try to keep it in sync with the
> glibc elf/elf.h. Since they recently added the same (and more)
> NT_ARM_* constants I'll sync that file seperately before incorporating
> your patch.
>
> Did you test the output on a core file that has these new regsets and
> core notes with eu-readelf to see if it looks correct?
>
Thank you for the review.
Yes, I have tested the output on a core file that has these new regsets.
Output is as following:
...
LINUX 544 ARM_SVE
LINUX 544 ARM_SSVE
LINUX 16 ARM_ZA
LINUX 16 ARM_PAC_MASK
pauth_dmask: 0x007f800000000000, pauth_cmask: 0x007f800000000000
LINUX 8 ARM_PAC_ENABLED_KEYS
enabled_keys: 0x000000000000000f
LINUX 8 ARM_TAGGED_ADDR_CTRL
tag_ctrl: 0x000000000007fff3
Thank you,
Kuan-Ying Lee
> Thanks,
>
> Mark