DanielKristofKiss wrote:

> For return-address signing, each function can make its own choice about 
> whether to sign; the function that's doing the signing is the same function 
> that does the auth, so it doesn't directly impact any other function. For 
> branch target enforcement, though, everything needs to agree that branch 
> targets are supposed to be enforced, or else the process crashes. So there's 
> no point to modifying whether it's enabled for a single function.

You are right in case of user space application but in some other use cases it 
is desired to keep the function properties because the executable is loaded 
differently (higher EL's).



https://github.com/llvm/llvm-project/pull/82819
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to