about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRuben ten Hove <git@rhtenhove.nl>2020-10-28 11:27:11 +0100
committerRuben ten Hove <git@rhtenhove.nl>2020-10-28 11:27:11 +0100
commitd4bf0c7db7943c20f32636798e223e649d758934 (patch)
treea770cd35fe5ad55c72d5da455604ec5101f5ec33
parent90e04d49094c413eeb55483c62434e11ee0cd888 (diff)
downloadafl++-d4bf0c7db7943c20f32636798e223e649d758934.tar.gz
add suggestion for using a ramdisk in docker
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index f09d9163..bbe16bc0 100644
--- a/README.md
+++ b/README.md
@@ -1009,6 +1009,14 @@ tasks, fuzzing may put a strain on your hardware and on the OS. In particular:
     $ iostat -d 3 -x -k [...optional disk ID...]
 ```
 
+    Using the `AFL_TMPDIR` environment variable and a RAM-disk you can have the
+    heavy writing done in RAM to prevent the aforementioned wear and tear. For
+    example the following line will run a Docker container with all this preset:
+    
+    ```shell
+    # docker run -ti --mount type=tmpfs,destination=/ramdisk -e AFL_TMPDIR=/ramdisk aflplusplus/aflplusplus
+    ```
+
 ## Known limitations & areas for improvement
 
 Here are some of the most important caveats for AFL: