openlierox icon indicating copy to clipboard operation
openlierox copied to clipboard

Compile with hardenings?

Open lxkurko opened this issue 9 years ago • 1 comments

At least 0.58 seems to compile fine with -fstack-protector-strong added to CMAKE_CXX_FLAGS. Would it make sense to enable that and perhaps some other hardening options by default when compiling with GCC?

lxkurko avatar Sep 15 '15 10:09 lxkurko

Update, no problems encountered with -fstack-protector-all -fPIE -D_FORTIFY_SOURCE=2 added to both C and C++ compiler flags.

lxkurko avatar Feb 20 '17 14:02 lxkurko