Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
CppSimulator Class Reference

uses barretenberg/vm2 to simulate the bytecode More...

#include <simulator.hpp>

Inheritance diagram for CppSimulator:
Simulator

Public Member Functions

SimulatorResult simulate (fuzzer::FuzzerWorldStateManager &ws_mgr, const std::vector< uint8_t > &bytecode, const std::vector< FF > &calldata) override
 
- Public Member Functions inherited from Simulator
virtual ~Simulator ()=default
 
 Simulator (const Simulator &)=delete
 
Simulatoroperator= (const Simulator &)=delete
 
 Simulator (Simulator &&)=delete
 
Simulatoroperator= (Simulator &&)=delete
 
 Simulator ()=default
 

Detailed Description

uses barretenberg/vm2 to simulate the bytecode

Definition at line 35 of file simulator.hpp.

Member Function Documentation

◆ simulate()

SimulatorResult CppSimulator::simulate ( fuzzer::FuzzerWorldStateManager ws_mgr,
const std::vector< uint8_t > &  bytecode,
const std::vector< FF > &  calldata 
)
overridevirtual

Implements Simulator.

Definition at line 130 of file simulator.cpp.


The documentation for this class was generated from the following files: