stack corruption detection with clang: safe-stack notes
stack corruption detection with clang: safe-stack notes
At LZ our development and nightly builds are done with clang, so it is of interest to check out what stack protection checking compiler options are available.  DB2 LUW used the intel compiler, which had very nice stack clobbering code.  How does clang’s fair against the intel compiler in this respect?
Clang does support a safe-stack option.  Here’s an example of some stack corrupting code:
#inclu…
View On WordPress



















