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

jqf-alf-fuzz freezes and timeout doesn't work #209

Open
ST-Saint opened this issue Dec 16, 2022 · 1 comment
Open

jqf-alf-fuzz freezes and timeout doesn't work #209

ST-Saint opened this issue Dec 16, 2022 · 1 comment
Labels

Comments

@ST-Saint
Copy link

When running the jqf-alf-fuzz, the status panel sometimes freezes and no updates afterward.

The timeout mechanism seems doesn't interrupt the running test. According to visualvm, it keeps reading the EOF in StreamBackedRandom
image

The testing command is
bin/jqf-afl-fuzz -x examples/target/test-classes/dictionaries/maven-model-afl.dict -i ../gen-seeds-dict/seeds/xml -o maven0 -c "examples/target/test-classes/:examples/target/test-classes:examples/target/dependency/*" edu.berkeley.cs.jqf.examples.maven.ModelReaderTest testWithInputStream

@rohanpadhye
Copy link
Owner

Interesting, thanks for the repro command and the profiler screenshot.

To be honest, I don't maintain the jqf-afl-fuzz bridge any more, for several reasons (mainly that AFL is quite outdated now and JQF is best used with Zest and other guidances implemented within Java). I can't promise a quick fix if this is AFL related. If you have a solution, PRs are definitely welcome.

Do you think the same bug would be encountered when fuzzing with Zest (i.e., via mvn jqf:fuzz?) If so, then I'll look into it further.

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

No branches or pull requests

2 participants