Bitcoin Core  27.99.0
P2P Digital Currency
Functions | Variables
descriptor_parse.cpp File Reference
#include <chainparams.h>
#include <key_io.h>
#include <pubkey.h>
#include <script/descriptor.h>
#include <test/fuzz/fuzz.h>
#include <test/fuzz/util/descriptor.h>
#include <util/chaintype.h>
#include <util/strencodings.h>
Include dependency graph for descriptor_parse.cpp:

Go to the source code of this file.

Functions

static void TestDescriptor (const Descriptor &desc, FlatSigningProvider &sig_provider, std::string &dummy)
 Test a successfully parsed descriptor. More...
 
void initialize_descriptor_parse ()
 
void initialize_mocked_descriptor_parse ()
 
 FUZZ_TARGET (mocked_descriptor_parse,.init=initialize_mocked_descriptor_parse)
 
 FUZZ_TARGET (descriptor_parse,.init=initialize_descriptor_parse)
 

Variables

MockedDescriptorConverter MOCKED_DESC_CONVERTER
 The converter of mocked descriptors, needs to be initialized when the target is. More...
 

Function Documentation

◆ FUZZ_TARGET() [1/2]

FUZZ_TARGET ( descriptor_parse  ,
init = initialize_descriptor_parse 
)

Definition at line 84 of file descriptor_parse.cpp.

Here is the call graph for this function:

◆ FUZZ_TARGET() [2/2]

FUZZ_TARGET ( mocked_descriptor_parse  ,
init = initialize_mocked_descriptor_parse 
)

Definition at line 68 of file descriptor_parse.cpp.

Here is the call graph for this function:

◆ initialize_descriptor_parse()

void initialize_descriptor_parse ( )

Definition at line 56 of file descriptor_parse.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initialize_mocked_descriptor_parse()

void initialize_mocked_descriptor_parse ( )

Definition at line 62 of file descriptor_parse.cpp.

Here is the call graph for this function:

◆ TestDescriptor()

static void TestDescriptor ( const Descriptor desc,
FlatSigningProvider sig_provider,
std::string &  dummy 
)
static

Test a successfully parsed descriptor.

Definition at line 18 of file descriptor_parse.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ MOCKED_DESC_CONVERTER

MockedDescriptorConverter MOCKED_DESC_CONVERTER

The converter of mocked descriptors, needs to be initialized when the target is.

Definition at line 15 of file descriptor_parse.cpp.