about summary refs log tree commit diff
path: root/qemu_mode/README.md
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-10-02 01:48:51 +0200
committerGitHub <noreply@github.com>2019-10-02 01:48:51 +0200
commit5b45fc5921f25fd5bd2fe216e4c22d7f3988dfa9 (patch)
treee7af070369eeaec0663e3efdc8193ae3b70aa021 /qemu_mode/README.md
parent19afe50efab221282bfde5993d59c47f98f7c8f9 (diff)
parentc8d3d813ff0a6ec15b1951a90e0870f283e06ee8 (diff)
downloadafl++-5b45fc5921f25fd5bd2fe216e4c22d7f3988dfa9.tar.gz
Merge pull request #73 from mattz0rt/static_compilation
Build statically-linked binaries
Diffstat (limited to 'qemu_mode/README.md')
-rw-r--r--qemu_mode/README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/qemu_mode/README.md b/qemu_mode/README.md
index 81e91854..81904cf1 100644
--- a/qemu_mode/README.md
+++ b/qemu_mode/README.md
@@ -38,7 +38,13 @@ to 200 MB when specifying -Q to afl-fuzz; be careful when overriding this.
 In principle, if you set CPU_TARGET before calling ./build_qemu_support.sh,
 you should get a build capable of running non-native binaries (say, you
 can try CPU_TARGET=arm). This is also necessary for running 32-bit binaries
-on a 64-bit system (CPU_TARGET=i386).
+on a 64-bit system (CPU_TARGET=i386). If you're trying to run QEMU on a
+different architecture you can also set HOST to the cross-compiler prefix
+to use (for example HOST=arm-linux-gnueabi to use arm-linux-gnueabi-gcc).
+
+You can also compile statically-linked binaries by setting STATIC=1. This
+can be useful when compiling QEMU on a different system than the one you're
+planning to run the fuzzer on and is most often used with the HOST variable.
 
 Note: if you want the QEMU helper to be installed on your system for all
 users, you need to build it before issuing 'make install' in the parent