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

Peter Collingbourne peter at pcc.me.uk
Tue May 26 15:02:48 PDT 2015


- Implement __attribute__((no_sanitize("safe-stack")))
- Fix documentation typo
- Remove unnecessary linker flag
- Revert langopts change
- Improve precision of safestack-attr.cpp test
- Document limitations
- More documentation updates
- More updates


http://reviews.llvm.org/D6095

Files:
  docs/LanguageExtensions.rst
  docs/SafeStack.rst
  docs/UsersManual.rst
  docs/index.rst
  include/clang/Basic/Builtins.def
  include/clang/Basic/Sanitizers.def
  include/clang/Driver/SanitizerArgs.h
  lib/CodeGen/CGDeclCXX.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/Driver/Tools.cpp
  lib/Lex/PPMacroExpansion.cpp
  test/CodeGen/safestack-attr.cpp
  test/CodeGen/stack-protector.c
  test/Driver/fsanitize.c

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


More information about the cfe-commits mailing list