Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
fuzz.cpp File Reference

Go to the source code of this file.

Functions

void log_result (const SimulatorResult &result)
 
SimulatorResult fuzz (FuzzerData &fuzzer_data)
 fuzz CPP vs JS simulator with the given fuzzer data
 

Function Documentation

◆ fuzz()

SimulatorResult fuzz ( FuzzerData fuzzer_data)

fuzz CPP vs JS simulator with the given fuzzer data

Parameters
fuzzer_datathe fuzzer data to use for fuzzing
Returns
the simulator result if the results are the same
Exceptions
anexception if the simulator results are different

Definition at line 17 of file fuzz.cpp.

◆ log_result()

void log_result ( const SimulatorResult result)

Definition at line 10 of file fuzz.cpp.