fix snapshot include
MODIFY
README.md
README.md
@@ -272,11 +272,12 @@ afl-clang-lto:
To use this set the following environment variable before compiling the
target: `export AFL_LLVM_LAF_ALL=1`
You can read more about this in [llvm/README.laf-intel.md](llvm/README.laf-intel.md)
- * A different technique is to instrument the target so that any compare values
- in the target are sent to afl++ which then tries to put this value into the
- fuzzing data at different locations. This technique is very fast and good -
- if the target does not transform input data before comparison. Therefore
- technique is called `input to state` or `redqueen`.
+ * A different technique (and usually a bit better than laf-intel) is to
+ instrument the target so that any compare values in the target are sent to
+ afl++ which then tries to put this value into the fuzzing data at different
+ locations. This technique is very fast and good - if the target does not
+ transform input data before comparison. Therefore this technique is called
+ `input to state` or `redqueen`.
If you want to use this technique, then you have to compile the target
twice, once specifically with/for this mode.
You can read more about this in [llvm_mode/README.cmplog.md](llvm_mode/README.cmplog.md)

MODIFY
docs/Changelog.md
docs/Changelog.md
@@ -10,6 +10,8 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
### Version ++2.66d (devel)
+ - Support for improved afl++ snapshot module:
+ https://github.com/AFLplusplus/AFL-Snapshot-LKM
- afl-fuzz:
- added -F option to allow -M main fuzzers to sync to foreign fuzzers,
e.g. honggfuzz or libfuzzer

MODIFY
include/snapshot-inl.h
include/snapshot-inl.h
@@ -95,7 +95,7 @@ static int afl_snapshot_take(int config) {
}
-static int afl_snapshot_take(void) {
+static int afl_snapshot_do(void) {
return ioctl(afl_snapshot_dev_fd, AFL_SNAPSHOT_IOCTL_DO);

fix snapshot include