| 
    ZeroErr
    
   | 
 
FuzzTest is a template class to create a fuzz test for the target function. 更多...
#include <fuzztest.h>


Public 类型 | |
| using | ValueType = typename FuncType::ValueType | 
| template<typename... T> | |
| using | FuzzTestWithDomainType = FuzzTestWithDomain< TargetFunction, FuncType, AggregateOf< std::tuple< typename T::ValueType... >, T... > > | 
Public 成员函数 | |
| FuzzTest (TargetFunction func, TestContext *context) | |
| FuzzTest (const FuzzTest &other) | |
| template<typename... T> | |
| FuzzTestWithDomainType< T... > | WithDomains (AggregateOf< std::tuple< typename T::ValueType... >, T... > domain) | 
| template<typename... T> | |
| FuzzTestWithDomainType< T... > | WithDomains (T &&... domains) | 
| FuzzTest & | WithSeeds (std::vector< ValueType > _seeds) | 
| virtual void | Run (int=1000, int=0) | 
| virtual void | RunOneTime (const uint8_t *, size_t) | 
| virtual std::string | MutateData (const uint8_t *, size_t, size_t, unsigned int) | 
  Public 成员函数 继承自 zeroerr::IFuzzTest | |
| bool | should_stop () | 
Public 属性 | |
| TargetFunction | func | 
| TestContext * | context | 
| std::vector< ValueType > | seeds | 
  Public 属性 继承自 zeroerr::IFuzzTest | |
| int | count = 0 | 
| int | max_count = 0 | 
FuzzTest is a template class to create a fuzz test for the target function.
| TargetFunction | The target function to fuzz. | 
| FuncType | is the decomposition result of the target function. | 
| using zeroerr::FuzzTest< TargetFunction, FuncType >::FuzzTestWithDomainType = FuzzTestWithDomain<TargetFunction, FuncType, AggregateOf<std::tuple<typename T::ValueType...>, T...> > | 
| using zeroerr::FuzzTest< TargetFunction, FuncType >::ValueType = typename FuncType::ValueType | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inlinevirtual | 
实现了 zeroerr::IFuzzTest.
      
  | 
  inlinevirtual | 
实现了 zeroerr::IFuzzTest.
      
  | 
  inlinevirtual | 
实现了 zeroerr::IFuzzTest.
      
  | 
  inline | 
| T | The domain type to use. | 
      
  | 
  inline | 
| T | The domain type to use. This function will decompose the domain type and use tuple to represent the list of domains. The previous function is matched in this call. | 
      
  | 
  inline | 
| TestContext* zeroerr::FuzzTest< TargetFunction, FuncType >::context | 
| TargetFunction zeroerr::FuzzTest< TargetFunction, FuncType >::func | 
| std::vector<ValueType> zeroerr::FuzzTest< TargetFunction, FuncType >::seeds |