[PATCH] D119592: Insert a blurb about the -fzero-call-used-regs feature

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 15 00:07:31 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG86bde99a9027: Insert a blurb about the -fzero-call-used-regs feature (authored by void).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119592

Files:
  clang/docs/ReleaseNotes.rst


Index: clang/docs/ReleaseNotes.rst
===================================================================
--- clang/docs/ReleaseNotes.rst
+++ clang/docs/ReleaseNotes.rst
@@ -47,7 +47,12 @@
 Major New Features
 ------------------
 
--  ...
+- Clang now supports the ``-fzero-call-used-regs`` feature for x86. The purpose
+  of this feature is to limit Return-Oriented Programming (ROP) exploits and
+  information leakage. It works by zeroing out a selected class of registers
+  before function return --- e.g., all GPRs that are used within the function.
+  There is an analogous ``zero_call_used_regs`` attribute to allow for finer
+  control of this feature.
 
 Improvements to Clang's diagnostics
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119592.408731.patch
Type: text/x-patch
Size: 735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220215/5717c97c/attachment.bin>


More information about the cfe-commits mailing list