summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-02-16 10:02:58 +0100
committerGitHub <noreply@github.com>2021-02-16 10:02:58 +0100
commit3275c412b6458be0ebe90b95aff9c70e2abdde20 (patch)
tree214130e10d35ed06d65fd77cdefafc5cad61ef9a
parent5361d6a303ee987b933f4851e2dc78e6084083ab (diff)
parent39af48f5c9f680d27306a2afa159219899952c87 (diff)
downloadafl-dyninst-3275c412b6458be0ebe90b95aff9c70e2abdde20.tar.gz
Merge pull request #2 from b1gr3db/master
Fix build failures
-rw-r--r--Dockerfile1
-rw-r--r--libAflDyninst.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index c73a24f..a632b31 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,6 +19,7 @@ RUN apt-get update && apt-get -y upgrade && apt-get -y install \
         libelf1 \
         libiberty-dev \
         libboost-all-dev \
+        libdw-dev \
         libtbb2 \
         libtbb-dev \
     && apt-get -y autoremove && rm -rf /var/lib/apt/lists/*
diff --git a/libAflDyninst.cpp b/libAflDyninst.cpp
index 0bed71d..fca9557 100644
--- a/libAflDyninst.cpp
+++ b/libAflDyninst.cpp
@@ -1,4 +1,5 @@
 #include "config.h" // do symlink: ln -s ../AFLplusplus/include afl
+#include "types.h" // Also needed via symlink for newer AFL versions
 #include "dyninstversion.h" // if this include errors, compile and install https://github.com/dyninst/dyninst
 #include <algorithm>
 #include <cstdio>