#include <test/fuzz/fuzz.h>
#include <netaddress.h>
#include <netbase.h>
#include <test/fuzz/util/check_globals.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <util/check.h>
#include <util/fs.h>
#include <util/sock.h>
#include <util/time.h>
#include <csignal>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <exception>
#include <fstream>
#include <functional>
#include <iostream>
#include <map>
#include <memory>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
Go to the source code of this file.
◆ FuzzFrameworkRegisterTarget()
◆ FuzzTargets()
◆ initialize()
◆ LLVMFuzzerInitialize()
int LLVMFuzzerInitialize |
( |
int * |
argc, |
|
|
char *** |
argv |
|
) |
| |
◆ LLVMFuzzerTestOneInput()
int LLVMFuzzerTestOneInput |
( |
const uint8_t * |
data, |
|
|
size_t |
size |
|
) |
| |
◆ ResetCoverageCounters()
void ResetCoverageCounters |
( |
| ) |
|
◆ SetArgs()
static void SetArgs |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
◆ test_one_input()
◆ g_args
std::vector<const char*> g_args |
|
static |
◆ g_fuzz_target
std::string_view g_fuzz_target |
|
static |
◆ G_TEST_COMMAND_LINE_ARGUMENTS
const std::function<std::vector<const char*>()> G_TEST_COMMAND_LINE_ARGUMENTS |
Initial value:= []() {
}
static std::vector< const char * > g_args
A copy of the command line arguments that start with --.
Retrieve the command line arguments.
Definition at line 58 of file fuzz.cpp.
◆ G_TEST_GET_FULL_NAME
const std::function<std::string()> G_TEST_GET_FULL_NAME |
Initial value:{[]{
}}
static std::string_view g_fuzz_target
Retrieve the unit test name.
Definition at line 88 of file fuzz.cpp.
◆ G_TEST_LOG_FUN
const std::function<void(const std::string&)> G_TEST_LOG_FUN {} |
This is connected to the logger.
Can be used to redirect logs to any other log
Definition at line 37 of file fuzz.cpp.
◆ g_test_one_input