Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
dev::test::RandomCodeOptions Struct Reference

#include <fuzzHelper.h>

Public Member Functions

 RandomCodeOptions ()
 
void setWeight (dev::eth::Instruction _opCode, int _weight)
 
void addAddress (dev::Address const &_address)
 
dev::Address getRandomAddress () const
 

Public Attributes

bool useUndefinedOpCodes
 
int smartCodeProbability
 
boostDescreteDistrib opCodeProbability
 

Private Member Functions

void setWeights ()
 

Private Attributes

std::map< int, int > mapWeights
 
std::vector< dev::AddressaddressList
 

Detailed Description

Definition at line 46 of file fuzzHelper.h.

Constructor & Destructor Documentation

dev::test::RandomCodeOptions::RandomCodeOptions ( )

Definition at line 370 of file fuzzHelper.cpp.

Here is the call graph for this function:

Member Function Documentation

void dev::test::RandomCodeOptions::addAddress ( dev::Address const &  _address)

Definition at line 384 of file fuzzHelper.cpp.

Here is the caller graph for this function:

dev::Address dev::test::RandomCodeOptions::getRandomAddress ( ) const

Definition at line 389 of file fuzzHelper.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void dev::test::RandomCodeOptions::setWeight ( dev::eth::Instruction  _opCode,
int  _weight 
)

Definition at line 378 of file fuzzHelper.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void dev::test::RandomCodeOptions::setWeights ( )
private

Definition at line 399 of file fuzzHelper.cpp.

Here is the caller graph for this function:

Member Data Documentation

std::vector<dev::Address> dev::test::RandomCodeOptions::addressList
private

Definition at line 60 of file fuzzHelper.h.

std::map<int, int> dev::test::RandomCodeOptions::mapWeights
private

Definition at line 59 of file fuzzHelper.h.

boostDescreteDistrib dev::test::RandomCodeOptions::opCodeProbability

Definition at line 56 of file fuzzHelper.h.

int dev::test::RandomCodeOptions::smartCodeProbability

Definition at line 55 of file fuzzHelper.h.

bool dev::test::RandomCodeOptions::useUndefinedOpCodes

Definition at line 54 of file fuzzHelper.h.


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