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

Automated fuzzing #412

Merged
merged 2 commits into from
Nov 1, 2019
Merged

Automated fuzzing #412

merged 2 commits into from
Nov 1, 2019

Conversation

bookmoons
Copy link
Contributor

Hi guys. Really nice how you have some fuzz targets. What about running them automatically on Fuzzit?

This patch sets it up. All 3 targets are fuzzed. There's a successful run under my Travis account.

The PR build will fail due to missing an API key. Setup is like this:

  • In Fuzzit create the targets pest-parse pest-toml pest-json.
  • In Fuzzit settings grab an API key. In repo settings in Travis paste it to FUZZIT_API_KEY.

@dragostis
Copy link
Contributor

Thanks fore the PR! The change looks good and I've made the account, but I'm currently facing the project's first unfixed build-issue: namely, the bootstrap seems to have a different version of the syn crate which breaks it and makes the build fail. Since no one tackled this, feel free to try it out if you wanna merge this sooner.

@bookmoons
Copy link
Contributor Author

Thanks for look at it! Will have a look at this.

@bookmoons
Copy link
Contributor Author

Opened #415 for resolving the build error.

@dragostis
Copy link
Contributor

bors r+

bors bot added a commit that referenced this pull request Nov 1, 2019
412: Automated fuzzing r=dragostis a=bookmoons

Hi guys. Really nice how you have some fuzz targets. What about running them automatically on Fuzzit?

This patch sets it up. All 3 targets are fuzzed. There's a [successful run](https://travis-ci.org/bookmoons/pest/builds/577269637) under my Travis account.

The PR build will fail due to missing an API key. Setup is like this:
* In [Fuzzit](https://fuzzit.dev/) create the targets `pest-parse` `pest-toml` `pest-json`.
* In Fuzzit settings grab an API key. In repo settings in [Travis](https://travis-ci.org/) paste it to `FUZZIT_API_KEY`.

Co-authored-by: Book Moons <35854232+bookmoons@users.noreply.github.com>
@bors
Copy link
Contributor

bors bot commented Nov 1, 2019

Build succeeded

@bors bors bot merged commit ccd37ef into pest-parser:master Nov 1, 2019
@bookmoons
Copy link
Contributor Author

Thanks for merging @dragostis.

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.

2 participants