[PATCH] D85644: AArch64: don't sign the return address in noreturn functions

Daniel Kiss via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 09:52:06 PDT 2020


danielkiss added a comment.

The produced code for the non return function might save an unsigned LR to the stack and that might be usable to craft a gadget IMHO. The probability is quite low but still.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85644/new/

https://reviews.llvm.org/D85644



More information about the llvm-commits mailing list