Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fuzzing: Add CIFuzz - #239

#239
Merged
buger merged 1 commit into
buger:masterbuger/jsonparser:masterfrom
AdamKorcz:cifuzz1AdamKorcz/jsonparser:cifuzz1Copy head branch name to clipboard
Nov 25, 2021
Merged

Fuzzing: Add CIFuzz#239
buger merged 1 commit into
buger:masterbuger/jsonparser:masterfrom
AdamKorcz:cifuzz1AdamKorcz/jsonparser:cifuzz1Copy head branch name to clipboard

Conversation

@AdamKorcz

Copy link
Copy Markdown
Contributor

Description: What this PR does
Adds CIFuzz to jsonparsers OSS-fuzz integration. In short, CIFuzz is a service offered by OSS-fuzz to run jsonparsers fuzzers during the CI to prevent bugs from being introduced.
In this PR the fuzz time is set to 600 seconds but can be changed.

More about CIFuzz can be found here: https://google.github.io/oss-fuzz/getting-started/continuous-integration/

Benchmark before change:

Benchmark after change:

For running benchmarks use:

go test -test.benchmem -bench JsonParser ./benchmark/ -benchtime 5s -v
# OR
make bench (runs inside docker)

@buger
buger merged commit a6f867e into buger:master Nov 25, 2021
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.