need to fix fuzzer
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
app_name="amlogic"
|
||||
target_soc="S922"
|
||||
inputs_dir="/fuzz/input/"
|
||||
outputs_dir="/fuzz/fuzz_output/"
|
||||
outputs_dir="/fuzz/fuzz_output/${target_soc}"
|
||||
|
||||
# generate screenrc
|
||||
tmp_screen_rc="/tmp/screenrc.${app_name}"
|
||||
@@ -17,7 +18,7 @@ for id in {1..6}; do
|
||||
if [ $id = 1 ]; then
|
||||
master="M"
|
||||
fi
|
||||
cmd="sh -c 'afl-fuzz -U -t 5000 -o ${outputs_dir} -i ${inputs_dir} -${master} ${id_name} -- python3 fuzzer.py @@ ; bash'"
|
||||
cmd="sh -c 'afl-fuzz -U -t 5000 -o ${outputs_dir} -i ${inputs_dir} -${master} ${id_name} -- python3 fuzzer.py -d ${target_soc} @@ ; bash'"
|
||||
echo "screen -t $master$id_name $id $cmd" >> $tmp_screen_rc
|
||||
done
|
||||
screen -c $tmp_screen_rc
|
||||
|
||||
Reference in New Issue
Block a user