suricata
fuzz_sigpcap.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-profiling.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 "flow-worker.h"
#include "tm-modules.h"
#include "tmqh-packetpool.h"
#include "util-file.h"
#include "util-conf.h"
#include "packet.h"
Include dependency graph for fuzz_sigpcap.c:

Go to the source code of this file.

Functions

int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
 
 SC_ATOMIC_EXTERN (unsigned int, engine_stage)
 

Variables

ThreadVars tv
 
DecodeThreadVarsdtv
 
void * fwd
 
SCInstance surifuzz
 
const char * configNoChecksum
 

Detailed Description

Author
Philippe Antoine conta.nosp@m.ct@c.nosp@m.atena.nosp@m.cybe.nosp@m.r.fr fuzz target for signature file and pcap file

Definition in file fuzz_sigpcap.c.

Function Documentation

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t *  data,
size_t  size 
)

Definition at line 47 of file fuzz_sigpcap.c.

◆ SC_ATOMIC_EXTERN()

SC_ATOMIC_EXTERN ( unsigned int  ,
engine_stage   
)

Variable Documentation

◆ configNoChecksum

const char* configNoChecksum

Definition at line 1 of file confyaml.c.

◆ dtv

Definition at line 39 of file fuzz_sigpcap.c.

◆ fwd

void* fwd

Definition at line 41 of file fuzz_sigpcap.c.

◆ surifuzz

SCInstance surifuzz

Definition at line 42 of file fuzz_sigpcap.c.

◆ tv

Definition at line 38 of file fuzz_sigpcap.c.