PIVX Core  5.6.99
P2P Digital Currency
Functions | Variables
fuzz.cpp File Reference
#include "test/fuzz/fuzz.h"
#include <unistd.h>
#include "chainparams.h"
#include "pubkey.h"
Include dependency graph for fuzz.cpp:

Go to the source code of this file.

Functions

int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
 
int LLVMFuzzerInitialize (int *argc, char ***argv)
 
 __attribute__ ((weak)) int main(int argc
 
 if (!read_stdin(buffer))
 
 test_one_input (buffer)
 

Variables

char ** argv
 
std::vector< uint8_t > buffer
 
 return
 

Function Documentation

◆ __attribute__()

__attribute__ ( (weak)  )

◆ if()

if ( read_stdinbuffer)

Definition at line 72 of file fuzz.cpp.

Here is the caller graph for this function:

◆ LLVMFuzzerInitialize()

int LLVMFuzzerInitialize ( int *  argc,
char ***  argv 
)

Definition at line 39 of file fuzz.cpp.

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t *  data,
size_t  size 
)

Definition at line 32 of file fuzz.cpp.

◆ test_one_input()

test_one_input ( buffer  )

Variable Documentation

◆ argv

char** argv
Initial value:
{
initialize()

Definition at line 51 of file fuzz.cpp.

◆ buffer

std::vector<uint8_t> buffer

Definition at line 71 of file fuzz.cpp.

◆ return

return

Definition at line 77 of file fuzz.cpp.