From d531800ecb202e88cdc30d7e866faf7d2d394571 Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Sun, 20 Nov 2016 20:50:05 +0100 Subject: [PATCH] Pimp makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 8fec587..9f09907 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,10 @@ fuzz: clean CC=afl-gcc CFLAGS=-DNMRPFLASH_FUZZ make nmrpflash mv nmrpflash fuzz +dofuzz: fuzz + echo core | sudo tee /proc/sys/kernel/core_pattern + echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor + afl-fuzz -i fuzzin -o fuzzout -- ./fuzz clean: rm -f $(nmrpflash_OBJ) nmrpflash -- 2.25.1