Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bolero reduce doesn’t seem to do anything #247

Open
Porges opened this issue Sep 28, 2024 · 1 comment
Open

bolero reduce doesn’t seem to do anything #247

Porges opened this issue Sep 28, 2024 · 1 comment

Comments

@Porges
Copy link

Porges commented Sep 28, 2024

After running bolero reduce nothing seems to happen in terms of the number of files in the corpus. Is there a known issue here?


I manged to hack something together by running a sequence like:

mkdir output
BOLERO_LIBFUZZER_ARGS="-merge=1 output tests/mytest/corpus" target/fuzz/.../mytest_...
rm tests/mytest/corpus/*
mv output/* tests/mytest/corpus

This does result in compaction of the corpus (although you need to run it multiple times until you reach some fixed point).

@camshaft
Copy link
Owner

It's definitely possible that it's broken. We're currently missing test coverage on reduce actually reducing the corpus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants