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

Peter Collingbourne peter at pcc.me.uk
Fri May 15 11:59:44 PDT 2015


- Implement __attribute__((no_sanitize("safe-stack")))


http://reviews.llvm.org/D6095

Files:
  docs/LanguageExtensions.rst
  docs/SafeStack.rst
  docs/UsersManual.rst
  include/clang/Basic/Builtins.def
  include/clang/Basic/LangOptions.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.25887.patch
Type: text/x-patch
Size: 14252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150515/31b6045c/attachment.bin>


More information about the cfe-commits mailing list