From 30aa0b0dc55cd5127c9e4b5a8ab48d5dbeda37bc Mon Sep 17 00:00:00 2001 From: Yan Date: Sun, 17 May 2015 19:48:21 -0700 Subject: [PATCH] wrapper script for afl to be able to find afl-qemu-trace --- afl/install | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/afl/install b/afl/install index b491b9d..04638f9 100755 --- a/afl/install +++ b/afl/install @@ -12,11 +12,17 @@ cd qemu_mode ./build_qemu_support.sh cd ../../ -mkdir bin +mkdir -p bin cd bin -ln -s ../afl/{afl-as,afl-cmin,afl-fuzz,afl-gcc,afl-gotcpu,afl-plot,afl-qemu-trace,afl-showmap,afl-tmin,afl-whatsup} . +ln -sf ../afl/{afl-as,afl-cmin,afl-gcc,afl-gotcpu,afl-plot,afl-qemu-trace,afl-showmap,afl-tmin,afl-whatsup} . cd .. +cat < bin/afl-fuzz +#!/bin/bash +$PWD/afl/afl-fuzz "\$@" +END +chmod 755 bin/afl-fuzz + # # AFL-utils #