mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
fuzz: fix check-src/includes when fuzzing enabled.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
b6a3f93b75
commit
5787e18e69
@ -1,9 +1,9 @@
|
||||
#include "config.h"
|
||||
#include "common/utils.h"
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
#include <common/addr.h>
|
||||
#include <common/setup.h>
|
||||
#include <common/utils.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
void init(int *argc, char ***argv)
|
||||
{
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "config.h"
|
||||
#include <assert.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
#include <common/amount.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
void init(int *argc, char ***argv)
|
||||
{
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "config.h"
|
||||
#include <assert.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
#include <common/base32.h>
|
||||
#include <common/base64.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
void init(int *argc, char ***argv)
|
||||
{
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "config.h"
|
||||
#include <assert.h>
|
||||
|
||||
#include <common/bech32.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
#include <common/bech32.h>
|
||||
|
||||
void init(int *argc, char ***argv)
|
||||
{
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "config.h"
|
||||
#include <assert.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
#include <common/bigsize.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
void init(int *argc, char ***argv)
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "config.h"
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
#include <common/bip32.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
#include <wally_bip32.h>
|
||||
|
||||
void init(int *argc, char ***argv)
|
||||
|
@ -2,10 +2,10 @@
|
||||
#include <assert.h>
|
||||
#include <bitcoin/pubkey.h>
|
||||
#include <bitcoin/tx.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
#include <common/channel_id.h>
|
||||
#include <common/setup.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
#include <wire/wire.h>
|
||||
|
||||
void init(int *argc, char ***argv)
|
||||
|
@ -1,13 +1,13 @@
|
||||
#include "config.h"
|
||||
#include <assert.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
#include <bitcoin/pubkey.h>
|
||||
#include <bitcoin/chainparams.h>
|
||||
#include <bitcoin/pubkey.h>
|
||||
#include <bitcoin/script.h>
|
||||
#include <common/close_tx.h>
|
||||
#include <common/setup.h>
|
||||
#include <common/utils.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
#include <wire/wire.h>
|
||||
|
||||
void init(int *argc, char ***argv)
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "config.h"
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
#include <common/descriptor_checksum.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
void init(int *argc, char ***argv)
|
||||
{
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "config.h"
|
||||
#include <assert.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
#include <ccan/mem/mem.h>
|
||||
#include <common/hsm_encryption.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
void init(int *argc, char ***argv)
|
||||
{
|
||||
|
@ -1,12 +1,8 @@
|
||||
#include "config.h"
|
||||
#include <assert.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
#include <bitcoin/pubkey.h>
|
||||
#include <assert.h>
|
||||
#include <bitcoin/chainparams.h>
|
||||
#include <bitcoin/pubkey.h>
|
||||
#include <bitcoin/script.h>
|
||||
#include <bitcoin/tx.h>
|
||||
#include <ccan/tal/tal.h>
|
||||
@ -18,7 +14,11 @@
|
||||
#include <common/setup.h>
|
||||
#include <common/status.h>
|
||||
#include <common/utils.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
#include <wire/wire.h>
|
||||
|
||||
void init(int *argc, char ***argv)
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "config.h"
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <ccan/isaac/isaac64.h>
|
||||
#include <common/pseudorand.h>
|
||||
#include <tests/fuzz/libfuzz.h>
|
||||
|
||||
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
|
||||
int LLVMFuzzerInitialize(int *argc, char ***argv);
|
||||
|
Loading…
Reference in New Issue
Block a user