about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--docs/Changelog.md4
-rw-r--r--src/afl-cc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/Changelog.md b/docs/Changelog.md
index 7a9b74c5..fb573c73 100644
--- a/docs/Changelog.md
+++ b/docs/Changelog.md
@@ -3,6 +3,10 @@
   This is the list of all noteworthy changes made in every public
   release of the tool. See README.md for the general instruction manual.
 
+### Version ++4.06a (dev)
+  - afl-cc:
+    - add CFI sanitizer variant to gcc targets
+
 ### Version ++4.05c (release)
   - MacOS: libdislocator, libtokencap etc. do not work with modern
     MacOS anymore, but could be patched to work, see this issue if you
diff --git a/src/afl-cc.c b/src/afl-cc.c
index cbf57047..7c3682fb 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -1052,7 +1052,7 @@ static void edit_params(u32 argc, char **argv, char **envp) {
 
     if (compiler_mode == GCC_PLUGIN || compiler_mode == GCC) {
 
-      cc_params[cc_par_cnt++] = "-fcf-protection";
+      cc_params[cc_par_cnt++] = "-fcf-protection=full";
 
     } else {