[PATCH] Protection against stack-based memory corruption errors using SafeStack: Clang command line option and function attribute

Peter Collingbourne peter at pcc.me.uk
Wed May 6 15:43:39 PDT 2015


- Rename flag to -fsanitize=safe-stack
- __SAFESTACK__ -> __has_feature(safe_stack), doc updates


http://reviews.llvm.org/D6095

Files:
  docs/AttributeReference.rst
  docs/LanguageExtensions.rst
  docs/SafeStack.rst
  docs/UsersManual.rst
  include/clang/Basic/Attr.td
  include/clang/Basic/AttrDocs.td
  include/clang/Basic/Builtins.def
  include/clang/Basic/LangOptions.def
  include/clang/Basic/LangOptions.h
  include/clang/Basic/Sanitizers.def
  include/clang/Driver/SanitizerArgs.h
  lib/CodeGen/CodeGenModule.cpp
  lib/Driver/ToolChains.cpp
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Lex/PPMacroExpansion.cpp
  lib/Sema/SemaDeclAttr.cpp
  test/CodeGen/safestack-attr.cpp
  test/CodeGen/stack-protector.c
  test/Driver/safestack.c
  test/SemaCXX/attr-no-safestack.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6095.25097.patch
Type: text/x-patch
Size: 21147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150506/5a2a2477/attachment.bin>


More information about the cfe-commits mailing list