Fabcoin Core
0.16.2
P2P Digital Currency
|
#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::Address > | addressList |
Definition at line 46 of file fuzzHelper.h.
dev::test::RandomCodeOptions::RandomCodeOptions | ( | ) |
void dev::test::RandomCodeOptions::addAddress | ( | dev::Address const & | _address | ) |
dev::Address dev::test::RandomCodeOptions::getRandomAddress | ( | ) | const |
Definition at line 389 of file fuzzHelper.cpp.
void dev::test::RandomCodeOptions::setWeight | ( | dev::eth::Instruction | _opCode, |
int | _weight | ||
) |
Definition at line 378 of file fuzzHelper.cpp.
|
private |
|
private |
Definition at line 60 of file fuzzHelper.h.
|
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.