ZeroErr
载入中...
搜索中...
未找到
zeroerr::FuzzTestWithDomain< TargetFunction, FuncType, Domain, Base > 模板结构体 参考

FuzzTestWithDomain implements the Base class with the domain passed into. 更多...

#include <fuzztest.h>

类 zeroerr::FuzzTestWithDomain< TargetFunction, FuncType, Domain, Base > 继承关系图:
zeroerr::FuzzTestWithDomain< TargetFunction, FuncType, Domain, Base > 的协作图:

Public 成员函数

 FuzzTestWithDomain (const Base &ft, const Domain &domain)
 
virtual void Run (int _count=1000, int _seed=0) override
 
Domain::CorpusType GetRandomCorpus ()
 
Domain::CorpusType TryParse (const std::string &input)
 
template<typename T , unsigned... I>
void apply (T args, detail::seq< I... >)
 
virtual void RunOneTime (const uint8_t *data, size_t size) override
 
virtual std::string MutateData (const uint8_t *data, size_t size, size_t max_size, unsigned int seed) override
 

Public 属性

Domain m_domain
 
Rngm_rng
 

详细描述

template<typename TargetFunction, typename FuncType, typename Domain, typename Base>
struct zeroerr::FuzzTestWithDomain< TargetFunction, FuncType, Domain, Base >

FuzzTestWithDomain implements the Base class with the domain passed into.

模板参数
TargetFunctionThe target function to fuzz.
FuncTypeis the decomposition result of the target function.
DomainThe domain to use.
BaseThe base class to inherit from.

构造及析构函数说明

◆ FuzzTestWithDomain()

template<typename TargetFunction , typename FuncType , typename Domain , typename Base >
zeroerr::FuzzTestWithDomain< TargetFunction, FuncType, Domain, Base >::FuzzTestWithDomain ( const Base &  ft,
const Domain domain 
)
inline

成员函数说明

◆ apply()

template<typename TargetFunction , typename FuncType , typename Domain , typename Base >
template<typename T , unsigned... I>
void zeroerr::FuzzTestWithDomain< TargetFunction, FuncType, Domain, Base >::apply ( args,
detail::seq< I... >   
)
inline

◆ GetRandomCorpus()

template<typename TargetFunction , typename FuncType , typename Domain , typename Base >
Domain::CorpusType zeroerr::FuzzTestWithDomain< TargetFunction, FuncType, Domain, Base >::GetRandomCorpus ( )
inline

◆ MutateData()

template<typename TargetFunction , typename FuncType , typename Domain , typename Base >
virtual std::string zeroerr::FuzzTestWithDomain< TargetFunction, FuncType, Domain, Base >::MutateData ( const uint8_t *  data,
size_t  size,
size_t  max_size,
unsigned int  seed 
)
inlineoverridevirtual

◆ Run()

template<typename TargetFunction , typename FuncType , typename Domain , typename Base >
virtual void zeroerr::FuzzTestWithDomain< TargetFunction, FuncType, Domain, Base >::Run ( int  _count = 1000,
int  _seed = 0 
)
inlineoverridevirtual

◆ RunOneTime()

template<typename TargetFunction , typename FuncType , typename Domain , typename Base >
virtual void zeroerr::FuzzTestWithDomain< TargetFunction, FuncType, Domain, Base >::RunOneTime ( const uint8_t *  data,
size_t  size 
)
inlineoverridevirtual

◆ TryParse()

template<typename TargetFunction , typename FuncType , typename Domain , typename Base >
Domain::CorpusType zeroerr::FuzzTestWithDomain< TargetFunction, FuncType, Domain, Base >::TryParse ( const std::string &  input)
inline

类成员变量说明

◆ m_domain

template<typename TargetFunction , typename FuncType , typename Domain , typename Base >
Domain zeroerr::FuzzTestWithDomain< TargetFunction, FuncType, Domain, Base >::m_domain

◆ m_rng

template<typename TargetFunction , typename FuncType , typename Domain , typename Base >
Rng* zeroerr::FuzzTestWithDomain< TargetFunction, FuncType, Domain, Base >::m_rng

该结构体的文档由以下文件生成: