suricata
fuzz_decodepcapfile.c File Reference
#include "suricata-common.h"
#include "suricata.h"
#include "app-layer-detect-proto.h"
#include "defrag.h"
#include "tm-modules.h"
#include "tm-threads.h"
#include "source-pcap-file.h"
#include "util-unittest-helper.h"
#include "conf-yaml-loader.h"
#include "util-time.h"
#include "util-conf.h"
Include dependency graph for fuzz_decodepcapfile.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

SCInstance surifuzz
 
const char configNoChecksum []
 
ThreadVarstv
 
DecodeThreadVarsdtv
 

Detailed Description

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

Definition in file fuzz_decodepcapfile.c.

Function Documentation

◆ LLVMFuzzerTestOneInput()

◆ SC_ATOMIC_EXTERN()

SC_ATOMIC_EXTERN ( unsigned int  ,
engine_stage   
)

Variable Documentation

◆ configNoChecksum

const char configNoChecksum[]
Initial value:
= "\
%YAML 1.1\n\
---\n\
pcap-file:\n\
\n\
checksum-checks: no\n\
"

Definition at line 24 of file fuzz_decodepcapfile.c.

Referenced by LLVMFuzzerTestOneInput().

◆ dtv

◆ surifuzz

SCInstance surifuzz

Definition at line 22 of file fuzz_decodepcapfile.c.

Referenced by LLVMFuzzerTestOneInput().

◆ tv

Definition at line 32 of file fuzz_decodepcapfile.c.

Referenced by __attribute__(), AffinityGetNextCPU(), AppLayerHandleTCPData(), AppLayerHandleUdp(), AppLayerIncAllocErrorCounter(), AppLayerIncGapErrorCounter(), AppLayerIncInternalErrorCounter(), AppLayerIncParserErrorCounter(), AppLayerIncTxCounter(), AppLayerParserParse(), AppLayerRegisterThreadCounters(), CaptureStatsSetup(), CaptureStatsUpdate(), DecodeARP(), DecodeCHDLC(), DecodeErfDag(), DecodeErfDagThreadDeinit(), DecodeErfDagThreadInit(), DecodeERSPAN(), DecodeERSPANTypeI(), DecodeESP(), DecodeEthernet(), DecodeGeneve(), DecodeGRE(), DecodeICMPV4(), DecodeICMPV6(), DecodeIPV4(), DecodeIPV6(), DecodeMPLS(), DecodeNSH(), DecodeNull(), DecodePPP(), DecodePPPOEDiscovery(), DecodePPPOESession(), DecodeRaw(), DecodeRegisterPerfCounters(), DecodeSCTP(), DecodeSll(), DecodeSll2(), DecodeTCP(), DecodeTEMPLATE(), DecodeTeredo(), DecodeThreadVarsAlloc(), DecodeThreadVarsFree(), DecodeUDP(), DecodeUpdatePacketCounters(), DecodeVNTag(), DecodeVXLAN(), Defrag(), DefragGetTrackerFromHash(), Detect(), DetectEngineThreadCtxInit(), DetectEngineThreadCtxInitForReload(), DetectPreFlow(), DetectPreStream(), ExceptionPolicySetStatsCounters(), FlowDisableFlowManagerThread(), FlowDisableFlowRecyclerThread(), FlowGetFlowFromHash(), FlowHandlePacket(), FlowHandlePacketUpdate(), FlowInit(), IPOnlyMatchPacket(), LLVMFuzzerTestOneInput(), LogHttpLogger(), LogTcpDataLogger(), LuaStateGetThreadVars(), LuaStateSetThreadVars(), MacSetAddWithCtr(), main(), NoAFXDPSupportExit(), NoDPDKSupportExit(), NoNFLOGSupportExit(), NoWinDivertSupportExit(), OutputFiledataLogFfc(), OutputFiledataLogThreadDeinit(), OutputFiledataLogThreadInit(), OutputFileLogFfc(), OutputFileLogThreadDeinit(), OutputFileLogThreadInit(), OutputFlowLog(), OutputFlowLogThreadDeinit(), OutputFlowLogThreadInit(), OutputJsonBuilderBuffer(), OutputJsonLogFlush(), OutputLoggerFlush(), OutputLoggerLog(), OutputLoggerThreadDeinit(), OutputLoggerThreadInit(), OutputStatsLog(), PacketDecodeFinalize(), PacketTunnelPktSetup(), PacketUpdateEngineEventCounters(), ReceiveErfDagLoop(), ReceiveErfDagThreadExitStats(), ReceiveErfDagThreadInit(), ReceiveErfFileLoop(), ReceiveErfFileThreadInit(), RejectSendIPv4ICMP(), RejectSendIPv4TCP(), RejectSendIPv6ICMP(), RejectSendIPv6TCP(), RunModeErfFileAutoFp(), RunModeErfFileSingle(), RunModeFilePcapSingle(), RunModeSetIPSWorker(), SCEveRunCallbacks(), SCFlowRunFinishCallbacks(), SCFlowRunInitCallbacks(), SCFlowRunUpdateCallbacks(), SCRunModeLibCreateThreadVars(), SCRunModeLibSpawnWorker(), SCThreadRunInitCallbacks(), SigMatchSignatures(), StatsAddUI64(), StatsDecr(), StatsGetLocalCounterValue(), StatsIncr(), StatsRegisterAvgCounter(), StatsRegisterCounter(), StatsRegisterMaxCounter(), StatsSetUI64(), StatsSetupPrivate(), StatsSyncCounters(), StatsSyncCountersIfSignalled(), StatsThreadCleanup(), StreamTcp(), StreamTcpDetectLogFlush(), StreamTcpGetSegment(), StreamTcpPacket(), StreamTcpReassembleAppLayer(), StreamTcpReassembleHandleSegment(), StreamTcpReassembleHandleSegmentHandleData(), StreamTcpReassembleInsertSegment(), StreamTcpThreadInit(), StreamTcpUTAddPayload(), StreamTcpUTAddSegmentWithByte(), StreamTcpUTAddSegmentWithPayload(), ThreadAllocStorageById(), ThreadFreeStorage(), ThreadFreeStorageById(), ThreadGetStorageById(), ThreadSetStorageById(), TimeGet(), TimeSetByThread(), TimeSetToCurrentTime(), TmqhInputFlow(), TmqhInputSimpleShutdownHandler(), TmqhOutputFlowHash(), TmqhOutputFlowIPPair(), TmThreadContinueDetectLoaderThreads(), and UTHBuildPacketOfFlows().