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

feat: Add fuzzing for cipher/xor #546

Merged
merged 1 commit into from
Oct 3, 2022
Merged

feat: Add fuzzing for cipher/xor #546

merged 1 commit into from
Oct 3, 2022

Conversation

abeltay
Copy link
Contributor

@abeltay abeltay commented Oct 1, 2022

Following up from #480, adding fuzzing test to cipher/xor function.

I ran go test -fuzz=Fuzz -fuzztime 30s cipher/xor/*.go and got the output below:

fuzz: elapsed: 0s, gathering baseline coverage: 0/8 completed
fuzz: elapsed: 0s, gathering baseline coverage: 8/8 completed, now fuzzing with 10 workers
fuzz: elapsed: 3s, execs: 1541453 (513640/sec), new interesting: 0 (total: 8)
fuzz: elapsed: 6s, execs: 3078539 (512364/sec), new interesting: 0 (total: 8)
fuzz: elapsed: 9s, execs: 4648655 (523545/sec), new interesting: 0 (total: 8)
fuzz: elapsed: 12s, execs: 6233252 (528124/sec), new interesting: 0 (total: 8)
fuzz: elapsed: 15s, execs: 7810894 (525865/sec), new interesting: 0 (total: 8)
fuzz: elapsed: 18s, execs: 9394482 (527848/sec), new interesting: 0 (total: 8)
fuzz: elapsed: 21s, execs: 10964800 (523534/sec), new interesting: 0 (total: 8)
fuzz: elapsed: 24s, execs: 12536121 (523682/sec), new interesting: 0 (total: 8)
fuzz: elapsed: 27s, execs: 14119233 (527786/sec), new interesting: 0 (total: 8)
fuzz: elapsed: 30s, execs: 15706281 (529005/sec), new interesting: 0 (total: 8)
fuzz: elapsed: 30s, execs: 15706281 (0/sec), new interesting: 0 (total: 8)
PASS
ok      command-line-arguments  30.481s

@raklaptudirm raklaptudirm merged commit 4d9b1e4 into TheAlgorithms:master Oct 3, 2022
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.

None yet

3 participants