It seems like my previous topic has magically disappeared... Or on hold pending moderation.
XnView MP has DEP/ASLR enabled, which is great! Would it be possible to enable /guard:cf as well? It is supported in Visual Studio 2017.
Compile XnView MP with /guard:cf
Moderator: xnview
-
xnview
- Author of XnView
- Posts: 47513
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
arko
- Posts: 11
- Joined: Wed Apr 22, 2020 5:10 am
Re: Compile XnView MP with /guard:cf
Not everything that quacks like a JPEG is just a JPEG; might be a fancy ROP gadget disguised as an image.
/GUARD:CF, similar to the -fcf-protection (GCC) and CFI (CLang) helps to prevent some of those.