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
[sw/silicon_creator] Add fuzzers for ROM bootstrap and ROM_EXT bootstrap #19194
Conversation
4f60baa
to
9daa970
Compare
9daa970
to
ad05088
Compare
ad05088
to
2a40313
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is pretty cool! Thanks @dmcardle !
a680349
to
6e168d9
Compare
I'm working on splitting this into two fuzzers: one for ROM bootstrap and one for ROM_EXT bootstrap. I have a working proof of concept uploaded, but I want to clean it up a bit tomorrow. |
006fc28
to
1647fb8
Compare
@alphan This has changed enough that it probably needs another look :) |
1647fb8
to
b3b2037
Compare
b3b2037
to
079b77a
Compare
+ Adds @rules_fuzzing dependency to Bazel + Adds command-line flag --config=asan-libfuzzer to .bazelrc + Adds a fuzzer for ROM_EXT bootstrap that throws SPI commands at the event loop. To run the fuzzer: ./bazelisk.sh run --config=asan-libfuzzer \ //sw/device/silicon_creator/rom_ext:bootstrap_fuzz_test_run Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
To run the fuzzer: ./bazelisk.sh run --config=asan-libfuzzer \ //sw/device/silicon_creator/rom:bootstrap_fuzz_test_run Signed-off-by: Dan McArdle <dmcardle@opentitan.org>
079b77a
to
59ba513
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dmcardle !
This PR depends on #18929. Ignore all but the last commit.This commit adds fuzzers for ROM bootstrap and ROM_EXT bootstrap.
To run the fuzzers: