On Sun, 28 Jun 2026 03:16:40 GMT, Chris Plummer <[email protected]> wrote:

>> _pac_mask would be exposed via VMStructs, we can retrieve the value from 
>> CIntgerField. IIUC it means _pac_mask comes from debuggee, in the coredump 
>> when we attach it. Thus we can refer appropriate mask value, no?
>
> 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 if we modify 
AARCH64Frame)

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

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

Reply via email to