suricata
fuzz_applayerprotodetectgetproto.c File Reference
#include "suricata-common.h"
#include "suricata.h"
#include "app-layer-detect-proto.h"
#include "flow-util.h"
#include "app-layer-parser.h"
#include "util-unittest-helper.h"
#include "conf-yaml-loader.h"
Include dependency graph for fuzz_applayerprotodetectgetproto.c:

Go to the source code of this file.

Macros

#define HEADER_LEN   6
 
#define PROTO_DETECT_MAX_LEN   1024
 

Functions

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

Variables

const char * configNoChecksum
 
AppLayerProtoDetectThreadCtxalpd_tctx = NULL
 

Detailed Description

Author
Philippe Antoine conta.nosp@m.ct@c.nosp@m.atena.nosp@m.cybe.nosp@m.r.fr fuzz target for AppLayerProtoDetectGetProto

Definition in file fuzz_applayerprotodetectgetproto.c.

Macro Definition Documentation

◆ HEADER_LEN

#define HEADER_LEN   6

Definition at line 17 of file fuzz_applayerprotodetectgetproto.c.

◆ PROTO_DETECT_MAX_LEN

#define PROTO_DETECT_MAX_LEN   1024

Definition at line 20 of file fuzz_applayerprotodetectgetproto.c.

Function Documentation

◆ LLVMFuzzerTestOneInput()

◆ SC_ATOMIC_EXTERN()

SC_ATOMIC_EXTERN ( unsigned int  ,
engine_stage   
)

Variable Documentation

◆ alpd_tctx

◆ configNoChecksum

const char* configNoChecksum

Definition at line 1 of file confyaml.c.

Referenced by LLVMFuzzerTestOneInput().