search for: 8d4cf05

Displaying 1 result from an estimated 1 matches for "8d4cf05".

2014 Nov 03
8
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
...ed9690d..c473e47 100644 --- a/lib/Makefile.mk +++ b/lib/Makefile.mk @@ -20,3 +20,4 @@ SubDirs += profile SubDirs += sanitizer_common SubDirs += tsan SubDirs += ubsan +SubDirs += safestack diff --git a/lib/safestack/CMakeLists.txt b/lib/safestack/CMakeLists.txt new file mode 100644 index 0000000..8d4cf05 --- /dev/null +++ b/lib/safestack/CMakeLists.txt @@ -0,0 +1,26 @@ +add_custom_target(safestack) + +set(SAFESTACK_SOURCES safestack.cc) + +include_directories(..) + +set(SAFESTACK_CFLAGS ${SANITIZER_COMMON_CFLAGS}) + +if(APPLE) + # Build universal binary on APPLE. + add_compiler_rt_osx_static_runt...