From 7f264629548d9a2fbbaea4fc2bbbeb453b29259a Mon Sep 17 00:00:00 2001 From: van Hauser Date: Fri, 7 Feb 2020 11:41:13 +0100 Subject: more docker fixes --- Dockerfile | 2 +- afl-fuzz-dyninst.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9feaeaf..76634d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM kalilinux/kali-rolling AS afl-dyninst MAINTAINER vh@thc.org ARG DEBIAN_FRONTEND=noninteractive -RUN apt-get update && apt-get upgrade && apt-get -y install \ +RUN apt-get update && apt-get -y upgrade && apt-get -y install \ build-essential \ gcc \ g++ \ diff --git a/afl-fuzz-dyninst.sh b/afl-fuzz-dyninst.sh index 710c558..aef3244 100755 --- a/afl-fuzz-dyninst.sh +++ b/afl-fuzz-dyninst.sh @@ -5,7 +5,8 @@ test -z "$1" -o "$1" = "-h" && { echo Syntax: $0 afl-fuzz-options ; echo sets th # export AFL_SKIP_BIN_CHECK=1 export DYNINSTAPI_RT_LIB=/usr/local/lib/libdyninstAPI_RT.so -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:. +echo " $*" | grep -q " -m" && { echo "Warning: no -m memory option specified!" ; sleep 1 ; } #export AFL_EXIT_WHEN_DONE=1 #export AFL_TMPDIR=/run/$$ #export AFL_PRELOAD=./desock.so:./libdislocator/libdislocator.so -- cgit 1.4.1