On Mon, 15 Nov 2021 10:20:15 GMT, Andrew Haley <a...@openjdk.org> wrote:

>whether this function authenticates or strips the address depends only on 
>debugging?

Yes. We only need to strip the value, because we're not jumping to the lr 
value, only viewing it.

The interface is different to a strip (as we need to pass in the modifier). 

How about something like pauth_authenticate_fast() ? or 
pauth_authenticate_unsafe() ?

Alternatively, this function is only called by the functions in Frame, so the 
frequency of use is probably low enough (compared to the sign/auth every 
function) that it's not going to cause any performance issues. So, could just 
replace with calls to pauth_authenticate. I think that might be the best option.

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

PR: https://git.openjdk.java.net/jdk/pull/6334

Reply via email to