Skip to content

Add gcc flags for safer and better IOCs

Lucas Magalhães requested to merge add_flags into master

This is part of E3 work to improve IOCs safety and debug. This patch adds some flags for that checks for memory issues, help debug and speed. compilation. Flags: -D_FORTIFY_SOURCE=1 Run-time buffer overflow detection. Documentation -D_GLIBCXX_ASSERTIONS Run-time bounds checking for C++ strings and containers. Documentation -fasynchronous-unwind-tables Increased reliability of backtraces, for debugging purposes -fstack-protector Stack protection just for debug version -pipe Avoid temporary files, speeding up builds

Merge request reports