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

Peter Collingbourne peter at pcc.me.uk
Thu May 7 13:11:54 PDT 2015


- Move safestack driver code to collectSanitizerRuntimes; eliminate SSPSafeStack
- Revert unnecessary change
- Update tests for new flags
- Revert changes to AttributeReference.rst (updated automatically)


http://reviews.llvm.org/D6095

Files:
  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/Sanitizers.def
  include/clang/Driver/SanitizerArgs.h
  lib/CodeGen/CodeGenModule.cpp
  lib/Driver/Tools.cpp
  lib/Lex/PPMacroExpansion.cpp
  lib/Sema/SemaDeclAttr.cpp
  test/CodeGen/safestack-attr.cpp
  test/CodeGen/stack-protector.c
  test/Driver/fsanitize.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.25220.patch
Type: text/x-patch
Size: 16976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150507/7d365f91/attachment.bin>


More information about the cfe-commits mailing list