Skip to content

General Development Guidelines

Testing

To run automated tests you will need to install a few more dependencies:

With the dependencies installed, you can run the tests with:

./tests/runtests.sh

Note that some of the acceptance tests are microarchitecture-dependent. These tests are labeled "Detection" (e.g., "Detection [spectre-type] Spectre V1; load variant"), and they may fail if the CPU under test does not have a given vulnerability. Generally, if a few of these tests fail, it is not a problem, but if all of them (or a significant portion) fail, it indicates an issue with the fuzzer.

Submitting Patches

To submit a patch, use the following procedure:

git checkout -b my_branch
  • Make sure all tests pass (see Testing)
  • Make sure your code follows the guidelines in Code Style
  • Push to your branch
git push origin my_branch