LLVM  6.0.0svn
Public Member Functions | List of all members
fuzzer::Random Class Reference

#include "Fuzzer/FuzzerRandom.h"

Inheritance diagram for fuzzer::Random:
Inheritance graph
Collaboration diagram for fuzzer::Random:
Collaboration graph

Public Member Functions

 Random (unsigned int seed)
result_type operator() ()
size_t Rand ()
size_t RandBool ()
size_t operator() (size_t n)
intptr_t operator() (intptr_t From, intptr_t To)

Detailed Description

Definition at line 18 of file FuzzerRandom.h.

Constructor & Destructor Documentation

◆ Random()

fuzzer::Random::Random ( unsigned int  seed)

Definition at line 20 of file FuzzerRandom.h.

Member Function Documentation

◆ operator()() [1/3]

result_type fuzzer::Random::operator() ( )

Definition at line 21 of file FuzzerRandom.h.

Referenced by operator()(), and Rand().

◆ operator()() [2/3]

size_t fuzzer::Random::operator() ( size_t  n)

Definition at line 24 of file FuzzerRandom.h.

References Rand().

◆ operator()() [3/3]

intptr_t fuzzer::Random::operator() ( intptr_t  From,
intptr_t  To 

Definition at line 25 of file FuzzerRandom.h.

References assert(), and operator()().

◆ Rand()

size_t fuzzer::Random::Rand ( )

◆ RandBool()

size_t fuzzer::Random::RandBool ( )

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