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

Add spawn fuzzing test #17

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Conversation

XuJiandong
Copy link

No description provided.

@XuJiandong
Copy link
Author

XuJiandong commented Apr 9, 2024

There is a test case with limited cycles (70M) but a lot of CPU time (> 10s).
0be7f07ae2289172a358b819f3926481206ca4b4.gz
Before reproduce, run cargo fuzz to build binary:

cargo +nightly fuzz run -j $(nproc) syscall_spawn -- -timeout=3

And then ctrl + C to stop it.

Unzip it. Then run it with under fuzz fold:

target/x86_64-unknown-linux-gnu/release/syscall_spawn  0be7f07ae2289172a358b819f3926481206ca4b4

@XuJiandong
Copy link
Author

find the coverage report:
report.html.gz

@mohanson mohanson merged commit 8f40da9 into libraries:new_spawn Apr 10, 2024
26 of 31 checks passed
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