[PATCH] Protection against stack-based memory corruption errors using SafeStack: compiler-rt runtime support library

Volodymyr Kuznetsov vova.kuznetsov at epfl.ch
Mon Nov 3 09:44:24 PST 2014


Hi theraven,

This patch adds runtime support for the Safe Stack protection to compiler-rt (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 the current SVN HEAD of compiler-rt (r220991). The patch adds basic runtime support for the safe stack to compiler-rt that manages unsafe stack allocation/deallocation for each thread.

http://reviews.llvm.org/D6096

Files:
  CMakeLists.txt
  cmake/config-ix.cmake
  include/CMakeLists.txt
  include/safestack_interface.h
  lib/CMakeLists.txt
  lib/Makefile.mk
  lib/safestack/CMakeLists.txt
  lib/safestack/Makefile.mk
  lib/safestack/safestack.cc
  make/platform/clang_darwin.mk
  make/platform/clang_linux.mk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6096.15719.patch
Type: text/x-patch
Size: 20693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141103/738f6649/attachment.bin>


More information about the cfe-commits mailing list