[cfe-users] Disabling stack protection on OSX 10.11

2015-09-29 Thread Mark Wadham via cfe-users
Hi, Not sure if this is the right place to ask this question but I'll try anyway. I can't seem to disable the stack protection on OSX 10.11 using clang 7.0.0. $ clang --version Apple LLVM version 7.0.0 (clang-700.0.72) Target: x86_64-apple-darwin15.0.0 Thread model: posix Compiling with:

[cfe-users] Stack buffer overflow protection

2015-09-29 Thread Dallman, John via cfe-users
I'm porting software to Apple's Clang 7.0, as released in Xcode 7.0. I'm not clear how that version number relates to the Clang 3.x version numbers. I'm interested in turning on checking for stack buffer overflows. There's the GCC option -fstack-protector, and then there's the SafeStack sanitize