llvm with tablegen backend for capstone disassembler
Go to file
Peter Collingbourne c4122c17b4 Protection against stack-based memory corruption errors using SafeStack: Clang command line option and function attribute
This patch adds the -fsanitize=safe-stack command line argument for clang,
which enables the Safe Stack protection (see http://reviews.llvm.org/D6094
for the detailed description of the Safe Stack).

This patch is our implementation of the safe stack on top of Clang. The
patches make the following changes:

- Add -fsanitize=safe-stack and -fno-sanitize=safe-stack options to clang
  to control safe stack usage (the safe stack is disabled by default).

- Add __attribute__((no_sanitize("safe-stack"))) attribute to clang that can be
  used to disable the safe stack for individual functions even when enabled
  globally.

Original patch by Volodymyr Kuznetsov and others at the Dependable Systems
Lab at EPFL; updates and upstreaming by myself.

Differential Revision: http://reviews.llvm.org/D6095

llvm-svn: 239762
2015-06-15 21:08:13 +00:00
clang Protection against stack-based memory corruption errors using SafeStack: Clang command line option and function attribute 2015-06-15 21:08:13 +00:00
clang-tools-extra Fixed modularize to warn about missing headers referenced in a module map. 2015-06-04 23:35:19 +00:00
compiler-rt [ASan] Test churn for setting ASAN_OPTIONS=symbolize_vs_style=false 2015-06-15 20:43:42 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Use a more accurate implementation for exp 2015-05-13 03:55:09 +00:00
libcxx Fix std::function allocator constructors in C++03. 2015-06-14 23:30:09 +00:00
libcxxabi fallback_malloc: silence conversion warning (NFC) 2015-06-03 17:25:35 +00:00
libunwind Code cleanup: Reindent statements. 2015-05-30 14:00:39 +00:00
lld COFF: Simplify SymbolBody::compare(SymbolBody *Other). 2015-06-15 19:06:53 +00:00
lldb Found an issue that was causing types to be completed much more often than they needed to be. 2015-06-15 20:17:18 +00:00
llgo [llgo] cmd/llgoi: use line editor 2015-05-23 15:16:09 +00:00
llvm Protection against stack-based memory corruption errors using SafeStack 2015-06-15 21:07:11 +00:00
openmp Remove unused variables '__kmp_build_check_*' for non assert builds. 2015-06-11 17:36:16 +00:00
polly Orthography: substracting -> subtracting 2015-06-15 10:52:28 +00:00