LLVM  6.0.0svn
Public Member Functions | List of all members
fuzzer::ExternalFunctions Struct Reference

#include "Fuzzer/FuzzerExtFunctions.h"

Public Member Functions

 ExternalFunctions ()
 
 EXT_FUNC (LLVMFuzzerInitialize, int,(int *argc, char ***argv), false)
 
 EXT_FUNC (LLVMFuzzerCustomMutator, size_t,(uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed), false)
 
 EXT_FUNC (LLVMFuzzerCustomCrossOver, size_t,(const uint8_t *Data1, size_t Size1, const uint8_t *Data2, size_t Size2, uint8_t *Out, size_t MaxOutSize, unsigned int Seed), false)
 
 EXT_FUNC (__lsan_enable, void,(), false)
 
 EXT_FUNC (__lsan_disable, void,(), false)
 
 EXT_FUNC (__lsan_do_recoverable_leak_check, int,(), false)
 
 EXT_FUNC (__sanitizer_install_malloc_and_free_hooks, int,(void(*malloc_hook)(const volatile void *, size_t), void(*free_hook)(const volatile void *)), false)
 
 EXT_FUNC (__sanitizer_print_memory_profile, int,(size_t, size_t), false)
 
 EXT_FUNC (__sanitizer_print_stack_trace, void,(), true)
 
 EXT_FUNC (__sanitizer_symbolize_pc, void,(void *, const char *fmt, char *out_buf, size_t out_buf_size), false)
 
 EXT_FUNC (__sanitizer_get_module_and_offset_for_pc, int,(void *pc, char *module_path, size_t module_path_len, void **pc_offset), false)
 
 EXT_FUNC (__sanitizer_set_death_callback, void,(void(*)(void)), true)
 
 EXT_FUNC (__sanitizer_set_report_fd, void,(void *), false)
 
 EXT_FUNC (__sanitizer_dump_coverage, void,(const uintptr_t *, uintptr_t), false)
 

Detailed Description

Definition at line 20 of file FuzzerExtFunctions.h.

Constructor & Destructor Documentation

◆ ExternalFunctions()

fuzzer::ExternalFunctions::ExternalFunctions ( )

Member Function Documentation

◆ EXT_FUNC() [1/14]

fuzzer::ExternalFunctions::EXT_FUNC ( LLVMFuzzerInitialize  ,
int  ,
(int *argc, char ***argv ,
false   
)

◆ EXT_FUNC() [2/14]

fuzzer::ExternalFunctions::EXT_FUNC ( LLVMFuzzerCustomMutator  ,
size_t  ,
(uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed ,
false   
)

◆ EXT_FUNC() [3/14]

fuzzer::ExternalFunctions::EXT_FUNC ( LLVMFuzzerCustomCrossOver  ,
size_t  ,
(const uint8_t *Data1, size_t Size1, const uint8_t *Data2, size_t Size2, uint8_t *Out, size_t MaxOutSize, unsigned int Seed ,
false   
)

◆ EXT_FUNC() [4/14]

fuzzer::ExternalFunctions::EXT_FUNC ( __lsan_enable  ,
void  ,
()  ,
false   
)

◆ EXT_FUNC() [5/14]

fuzzer::ExternalFunctions::EXT_FUNC ( __lsan_disable  ,
void  ,
()  ,
false   
)

◆ EXT_FUNC() [6/14]

fuzzer::ExternalFunctions::EXT_FUNC ( __lsan_do_recoverable_leak_check  ,
int  ,
()  ,
false   
)

◆ EXT_FUNC() [7/14]

fuzzer::ExternalFunctions::EXT_FUNC ( __sanitizer_install_malloc_and_free_hooks  ,
int  ,
(void(*malloc_hook)(const volatile void *, size_t), void(*free_hook)(const volatile void *))  ,
false   
)

◆ EXT_FUNC() [8/14]

fuzzer::ExternalFunctions::EXT_FUNC ( __sanitizer_print_memory_profile  ,
int  ,
(size_t, size_t ,
false   
)

◆ EXT_FUNC() [9/14]

fuzzer::ExternalFunctions::EXT_FUNC ( __sanitizer_print_stack_trace  ,
void  ,
()  ,
true   
)

◆ EXT_FUNC() [10/14]

fuzzer::ExternalFunctions::EXT_FUNC ( __sanitizer_symbolize_pc  ,
void  ,
(void *, const char *fmt, char *out_buf, size_t out_buf_size)  ,
false   
)

◆ EXT_FUNC() [11/14]

fuzzer::ExternalFunctions::EXT_FUNC ( __sanitizer_get_module_and_offset_for_pc  ,
int  ,
(void *pc, char *module_path, size_t module_path_len, void **pc_offset)  ,
false   
)

◆ EXT_FUNC() [12/14]

fuzzer::ExternalFunctions::EXT_FUNC ( __sanitizer_set_death_callback  ,
void  ,
(void(*)(void))  ,
true   
)

◆ EXT_FUNC() [13/14]

fuzzer::ExternalFunctions::EXT_FUNC ( __sanitizer_set_report_fd  ,
void  ,
(void *)  ,
false   
)

◆ EXT_FUNC() [14/14]

fuzzer::ExternalFunctions::EXT_FUNC ( __sanitizer_dump_coverage  ,
void  ,
(const uintptr_t *, uintptr_t)  ,
false   
)

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