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

Use Lwt to manage processes #7

Merged
merged 5 commits into from
Apr 18, 2019
Merged

Use Lwt to manage processes #7

merged 5 commits into from
Apr 18, 2019

Conversation

talex5
Copy link
Contributor

@talex5 talex5 commented Apr 18, 2019

Hopefully fixes #6. I also migrated to Dune, switched to Logs for logging to simplify the code, and added timestamps. Only lightly tested so far...

talex5 added 5 commits April 18, 2019 10:57
Ran `dune upgrade` and deleted `pkg`.
Avoids having to pass `verbosity` flag all over the place, and shows
timestamps.
@yomimono
Copy link
Collaborator

Thanks for this! I have no trouble believing that these changes are an improvement. Would you like to be added as an author? It's a pretty substantial rewrite.

@talex5
Copy link
Contributor Author

talex5 commented Apr 18, 2019

OK, added! Does it work for you?

@talex5
Copy link
Contributor Author

talex5 commented Apr 18, 2019

Hmm, bun's Travis CI is failing because test/short.ml has a bug that the fuzzer finds. Is that supposed to happen?

$ _build/default/test/short.exe  crash_1.1555608100 
negation: ....
negation: FAIL

When given the input:

    0.000000
    
the test failed:

    check false
    
Fatal error: exception Crowbar.TestFailure

@yomimono
Copy link
Collaborator

It looks like previously AFL detected a crash but we didn't report it which is definitely wrong 🙄

@yomimono yomimono merged commit 1b318a1 into ocurrent:primary Apr 18, 2019
yomimono added a commit to yomimono/opam-repository that referenced this pull request May 24, 2019
CHANGES:

- use Lwt to manage processes (ocurrent/bun#7, by @talex5)
- print crashes when killing a fuzzer in no-kill mode (ocurrent/bun#8, by @NathanReb)
- do some CI maintenance (ocurrent/bun#10, by @yomimono)
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

Successfully merging this pull request may close these issues.

Spurious fuzzer termination message
2 participants