batch-mode

Quick Start

Contracts in a directory can be executed in a batch, i.e., MagicMirror will fuzz them one by one until all .sol contract files are fuzzed. When a contract file contains multiple contracts, MagicMirror will fuzz all and only the fully implemented contracts that are not inherited by another contract, since such contracts are often only used as parent contracts in most cases and not deployed on their own.

As an example, to start fuzzing all contracts in ./sample_contracts/, execute the following command.

*Note, the command is meant to be executed in the same directory where the magic_mirrorexecutable resides.

./magic_mirror batch-mode --folder_dir ./sample_contracts

The output format will be the same as single-file-mode. that was previously mentioned here.

Last updated