diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-09-01 13:08:32 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-09-01 13:08:32 +0200 |
commit | b8d3a97a4f460b4e7919aa3f558d2a4d21a6b199 (patch) | |
tree | 4091ba761a1846707141e7acc4668d31f93570b1 /qemu_mode/patches/configure.diff | |
parent | 75c38d6243bb9bcc0b55f27b4bd3844658eec1b4 (diff) | |
download | afl++-b8d3a97a4f460b4e7919aa3f558d2a4d21a6b199.tar.gz |
build with qemuafl
Diffstat (limited to 'qemu_mode/patches/configure.diff')
-rw-r--r-- | qemu_mode/patches/configure.diff | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/qemu_mode/patches/configure.diff b/qemu_mode/patches/configure.diff deleted file mode 100644 index e265edae..00000000 --- a/qemu_mode/patches/configure.diff +++ /dev/null @@ -1,33 +0,0 @@ ---- a/configure 2019-08-02 18:04:50.000000000 +0200 -+++ b/configure 2020-02-28 06:31:30.424895061 +0100 -@@ -1479,6 +1479,8 @@ - ;; - --enable-capstone=system) capstone="system" - ;; -+ --enable-capstone=internal) capstone="internal" -+ ;; - --with-git=*) git="$optarg" - ;; - --enable-git-update) git_update=yes -@@ -4604,6 +4606,21 @@ - fi - - ########################################## -+cat > $TMPC << EOF -+#include <dlfcn.h> -+#include <stdlib.h> -+int main(int argc, char **argv) { return dlopen("libc.so", RTLD_NOW) != NULL; } -+EOF -+if compile_prog "" "" ; then -+ : -+elif compile_prog "" "-ldl" ; then -+ LIBS="-ldl $LIBS" -+ libs_qga="-ldl $libs_qga" -+else -+ error_exit "libdl check failed" -+fi -+ -+########################################## - # spice probe - if test "$spice" != "no" ; then - cat > $TMPC << EOF |