suricata
fuzz_predefpcap_aware.c File Reference
#include "suricata-common.h"
#include "source-pcap-file.h"
#include "detect-engine.h"
#include "util-classification-config.h"
#include "util-reference-config.h"
#include "app-layer.h"
#include "tm-queuehandlers.h"
#include "util-cidr.h"
#include "util-proto-name.h"
#include "detect-engine-tag.h"
#include "detect-engine-threshold.h"
#include "host-bit.h"
#include "ippair-bit.h"
#include "app-layer-htp.h"
#include "detect-fast-pattern.h"
#include "util-unittest-helper.h"
#include "conf-yaml-loader.h"
#include "pkt-var.h"
#include "flow-util.h"
#include <fuzz_pcap.h>
#include "confyaml.c"
Include dependency graph for fuzz_predefpcap_aware.c:

Go to the source code of this file.

Functions

int LLVMFuzzerInitialize (const int *argc, char ***argv)
 
int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
 

Variables

ThreadVars tv
 
DecodeThreadVarsdtv
 
void * fwd
 
SCInstance surifuzz
 
char * filepath = NULL
 

Detailed Description

Author
Philippe Antoine conta.nosp@m.ct@c.nosp@m.atena.nosp@m.cybe.nosp@m.r.fr fuzz target for predefined signatures and pcap (aware)

Definition in file fuzz_predefpcap_aware.c.

Function Documentation

◆ LLVMFuzzerInitialize()

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

Definition at line 43 of file fuzz_predefpcap_aware.c.

References filepath.

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t *  data,
size_t  size 
)

Definition at line 49 of file fuzz_predefpcap_aware.c.

Variable Documentation

◆ dtv

Definition at line 34 of file fuzz_predefpcap_aware.c.

◆ filepath

char* filepath = NULL

Definition at line 41 of file fuzz_predefpcap_aware.c.

Referenced by LLVMFuzzerInitialize().

◆ fwd

void* fwd

Definition at line 36 of file fuzz_predefpcap_aware.c.

◆ surifuzz

SCInstance surifuzz

Definition at line 37 of file fuzz_predefpcap_aware.c.

◆ tv

Definition at line 33 of file fuzz_predefpcap_aware.c.