mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-18 04:38:08 +00:00
nits
This commit is contained in:
15
afl-plot
15
afl-plot
@ -195,22 +195,19 @@ exit 1
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
rm -rf "$outputdir/.tmp"
|
||||||
mkdir -p "$outputdir/.tmp"
|
mkdir -p "$outputdir/.tmp"
|
||||||
rm -f "$outputdir/.tmp/win_ids"
|
|
||||||
mkfifo "$outputdir/.tmp/win_ids" || exit 1
|
mkfifo "$outputdir/.tmp/win_ids" || exit 1
|
||||||
|
|
||||||
afl-plot-ui > "$outputdir/.tmp/win_ids" &
|
afl-plot-ui > "$outputdir/.tmp/win_ids" &
|
||||||
W_IDS=$(cat "$outputdir/.tmp/win_ids")
|
W_IDS=$(cat "$outputdir/.tmp/win_ids")
|
||||||
|
|
||||||
rm -f "$outputdir/.tmp/win_ids"
|
rm -rf "$outputdir/.tmp"
|
||||||
if [ -z "$(ls -A $outputdir/.tmp)" ]; then
|
|
||||||
rm -rf "$outputdir/.tmp"
|
|
||||||
fi
|
|
||||||
|
|
||||||
W_ID1=$(echo "$W_IDS" | head -1)
|
W_ID1=$(echo "$W_IDS" | head -n 1)
|
||||||
W_ID2=$(echo "$W_IDS" | head -2 | tail -1)
|
W_ID2=$(echo "$W_IDS" | head -n 2 | tail -n 1)
|
||||||
W_ID3=$(echo "$W_IDS" | head -3 | tail -1)
|
W_ID3=$(echo "$W_IDS" | head -n 3 | tail -n 1)
|
||||||
W_ID4=$(echo "$W_IDS" | tail -1)
|
W_ID4=$(echo "$W_IDS" | tail -n 1)
|
||||||
|
|
||||||
echo "[*] Generating plots..."
|
echo "[*] Generating plots..."
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user