From ca2766063c5ceee7d7338d422a4bc19fc3ffc19a Mon Sep 17 00:00:00 2001 From: Roman Date: Fri, 22 May 2026 13:18:22 +0800 Subject: [PATCH] fix: clean-all in justfile and delete all corpus --- Justfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Justfile b/Justfile index 07d1efd..e1071b1 100644 --- a/Justfile +++ b/Justfile @@ -613,9 +613,11 @@ clean-artifacts: rm -rf fuzz/artifacts/ # Remove all coverage reports. -# Also removes the temporary profdata that cargo-fuzz writes to fuzz/coverage/. +# Also removes the temporary profdata that cargo-fuzz writes to fuzz/coverage/ +# and any stray .profraw files left by the instrumented binaries. clean-coverage: rm -rf coverage/ fuzz/coverage/ + find . -name '*.profraw' -delete # Remove AFL++ output directories (crashes, hangs, queue). # Note: the queue is also stored in corpus/afl/ via `just afl-corpus-sync`. @@ -626,5 +628,5 @@ clean-afl: clean-corpus: rm -rf corpus/ -# Remove everything: builds, artifacts, coverage, corpus, and AFL++ output -clean-all: clean clean-artifacts clean-coverage clean-corpus clean-afl +# Remove everything: builds, artifacts, coverage, and AFL++ output (preserves corpus/) +clean-all: clean clean-artifacts clean-coverage clean-afl