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

[sw/silicon_creator] Add fuzzers for ROM bootstrap and ROM_EXT bootstrap #19194

Merged
merged 2 commits into from
Aug 11, 2023

Commits on Aug 7, 2023

  1. [sw] Add a fuzzer for ROM_EXT bootstrap

    + 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>
    dmcardle committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    167173e View commit details
    Browse the repository at this point in the history
  2. [sw] Refactor and add fuzzer for ROM bootstrap

    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>
    dmcardle committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    59ba513 View commit details
    Browse the repository at this point in the history