aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-09-01 10:52:39 +0200
committervan Hauser <vh@thc.org>2020-09-01 10:52:39 +0200
commit651ad18e217992a2befbceff1c44dd5d495ab9c2 (patch)
tree2276d4596c5199647c80bccb851762c4de2e395d
parent664daa2f3c7bb76253f6f82b827e1c33d0a0f462 (diff)
downloadafl++-651ad18e217992a2befbceff1c44dd5d495ab9c2.tar.gz
added the grammar mutator as a git submodule + documentation
-rw-r--r--.gitmodules6
-rw-r--r--custom_mutators/README.md16
-rw-r--r--docs/Changelog.md16
3 files changed, 31 insertions, 7 deletions
diff --git a/.gitmodules b/.gitmodules
index 80752342..a9c181da 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,7 @@
[submodule "unicorn_mode/unicornafl"]
path = unicorn_mode/unicornafl
- url = https://github.com/AFLplusplus/unicornafl.git
+ url = https://github.com/AFLplusplus/unicornafl
+
+[submodule "custom_mutators/Grammar-Mutator"]
+ path = custom_mutators/Grammar-Mutator
+ url = https://github.com/AFLplusplus/Grammar-Mutator
diff --git a/custom_mutators/README.md b/custom_mutators/README.md
index 3abcfef3..993ccaa1 100644
--- a/custom_mutators/README.md
+++ b/custom_mutators/README.md
@@ -3,6 +3,22 @@
Custom mutators enhance and alter the mutation strategies of afl++.
For further information and documentation on how to write your own, read [the docs](../docs/custom_mutators.md).
+## The afl++ Grammar Mutator
+
+If you use git to clone afl++, then the following will incorporate our
+excellent grammar custom mutator:
+```
+git submodule init
+git submodule update
+```
+
+otherwise just checkout the repository here with either
+`git clone https://github.com/AFLplusplus/Grammar-Mutator` or
+`svn co https://github.com/AFLplusplus/Grammar-Mutator`.
+
+Read the [Grammar-Mutator/README.md](Grammar-Mutator/README.md) on how to use
+it.
+
## Production-Ready Custom Mutators
This directory holds ready to use custom mutators.
diff --git a/docs/Changelog.md b/docs/Changelog.md
index 72c8952c..d1ee9656 100644
--- a/docs/Changelog.md
+++ b/docs/Changelog.md
@@ -10,20 +10,24 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
### Version ++2.67d (develop)
+ - added the GSoC excellent afl++ grammar mutator by Shengtuo to our
+ custom_mutators/ (see custom_mutators/README.md) - or get it here:
+ https://github.com/AFLplusplus/Grammar-Mutator
- a few QOL changes for Apple and its outdated gmake
- afl-fuzz:
- Fix for auto dictionary entries found during fuzzing to not throw out
a -x dictionary
- added total execs done to plot file
- - AFL_MAX_DET_EXTRAS env variable added to control the amount of deterministic
- dict entries without recompiling.
- - AFL_FORKSRV_INIT_TMOUT env variable added to control the time to wait for
- the forkserver to come up without the need to increase the overall timeout.
+ - AFL_MAX_DET_EXTRAS env variable added to control the amount of
+ deterministic dict entries without recompiling.
+ - AFL_FORKSRV_INIT_TMOUT env variable added to control the time to wait
+ for the forkserver to come up without the need to increase the overall
+ timeout.
- bugfix for cmplog that results in a heap overflow based on target data
(thanks to the magma team for reporting!)
- custom mutators:
- - added afl_custom_fuzz_count/fuzz_count function to allow specifying the
- number of fuzz attempts for custom_fuzz
+ - added afl_custom_fuzz_count/fuzz_count function to allow specifying
+ the number of fuzz attempts for custom_fuzz
- llvm_mode:
- Ported SanCov to LTO, and made it the default for LTO. better
instrumentation locations