Skip to content

utils fuzzer minimizer

Martin Holst Swende edited this page Oct 12, 2018 · 2 revisions

There is a test-executor, if you want to provide the consensus-difference-engine with external files.

ls /my/tests/ | xargs python3 utilities/test_executor.py $

There is also a test-minimizer:

python3 utilities/test_minimizer.py testfile.json

The latter will try to minimize the testcase, and after every modification it checks that it still triggers. It does things like

  1. Remove accounts from the prestate
  2. Removes code from the prestate
  3. Shortens code from the prestate