[PATCH] D99377: [PowerPC] Add ROP Protection to prologue and epilogue

Stefan Pintilie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 25 13:46:15 PDT 2021


stefanp created this revision.
stefanp added a reviewer: nemanjai.
Herald added subscribers: shchenz, kbarton, hiraditya.
stefanp requested review of this revision.
Herald added a project: LLVM.

Added hashst to the prologue and hashchk to the epilogue.
The hash for the prologue and epilogue must always be stored as the first
element in the local variable space on the stack.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99377

Files:
  llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.h
  llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
  llvm/lib/Target/PowerPC/PPCRegisterInfo.h
  llvm/test/CodeGen/PowerPC/ppc64-rop-protection.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99377.333414.patch
Type: text/x-patch
Size: 21543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210325/d76c09b8/attachment.bin>


More information about the llvm-commits mailing list