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

Volodymyr Kuznetsov vova.kuznetsov at epfl.ch
Mon Nov 10 09:45:13 PST 2014


Added unittests for the -fsafe-stack and -fno-safe-stack options in clang and -fstack-protector 4 option in clang-cc1.

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/stack-protector.c
  test/Driver/safestack.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6095.15992.patch
Type: text/x-patch
Size: 13698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141110/4f888afd/attachment.bin>


More information about the cfe-commits mailing list