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

Volodymyr Kuznetsov vova.kuznetsov at epfl.ch
Wed Nov 12 02:34:20 PST 2014


Added tests for __attribute__((no_safe_stack)).

http://reviews.llvm.org/D6095

Files:
  include/clang/Basic/Attr.td
  include/clang/Basic/AttrDocs.td
  include/clang/Basic/LangOptions.def
  include/clang/Basic/LangOptions.h
  include/clang/Driver/Options.td
  lib/CodeGen/CodeGenModule.cpp
  lib/Driver/ToolChains.cpp
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Frontend/InitPreprocessor.cpp
  lib/Sema/SemaDeclAttr.cpp
  runtime/compiler-rt/Makefile
  test/CodeGen/safestack-attr.cpp
  test/CodeGen/stack-protector.c
  test/Driver/safestack.c
  test/SemaCXX/attr-no-safestack.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6095.16078.patch
Type: text/x-patch
Size: 15416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141112/d663f707/attachment.bin>


More information about the cfe-commits mailing list