On Mon, 29 Jun 2026 01:22:01 GMT, Yasumasa Suenaga <[email protected]> wrote:

>> Ah, yes, that makes sense. _pac_mask comes from the core file, not the JVM 
>> SA is running on. 
>> 
>> I do wonder how debuggers deal with transported cores since they won't have 
>> access to something like _pac_mask.
>
> Debuggers (e.g. GDB) seem to refer `NT_ARM_PAC_MASK` in note section in 
> coredump.
> https://docs.kernel.org/arch/arm64/pointer-authentication.html
> 
> Should we also refer it in SA? If so, we need to fix to do so in 
> AARCH64Frame, but it is out of scope of this issue. (We need to consider 
> Windows and Mac if we modify AARCH64Frame)

That's good to know, but I don't think you need to use NT_ARM_PAC_MASK if what 
you currently have is working well.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/31669#discussion_r3494325884

Reply via email to