Hi German, On Mon, Apr 25, 2022 at 02:03:07PM +0000, German Gomez via Elfutils-devel wrote: > I've included a set of patches in order to demangle return addresses in > aarch64 platforms with pointer authentication. > > Besides adding the implementation of the negate_ra_state opcode, there > is a new function in the libdwfl.h header to feed the PAC masks to the > library. > > Let me know if there are any concerns with the current version.
Thanks a lot for this. Last time I looked at this didn't have any means to test this, so I skipped implementing it. How did you test? Do distributions now enable PAC by default and is there hardware (qemu?) support? I haven't been able to look at the actual patches yet. And I am on vacation this week. But I'll review next week after I am back. A quick scan shows we need a aarch64 special public function, which would be slightly ugly imho. I had hoped it could be a variant of the func_addr_mask. But maybe this is too different to make more generic. Cheers, Mark