trailofbits / cb-multios

DARPA Challenges Sets for Linux, Windows, and macOS
https://blog.trailofbits.com/2016/08/01/your-tool-works-better-than-mine-prove-it/
MIT License
520 stars 103 forks source link

CMakeLists.txt: Fix incorrect _FORTIFY_SOURCE macro #96

Closed disconnect3d closed 1 year ago

disconnect3d commented 1 year ago

The fortify source mitigation is set by the _FORTIFY_SOURCE macro set along with the same optimization level. We used a -DFORTIFY_SOURCE=0 which is invalid and should be -D_FORTIFY_SOURCE=0 instead.

To be honest, we could even remove this flag as well, but I think it is fine to leave it, but it should be spelled correctly then :).

disconnect3d commented 1 year ago

See also: image