suricata
onefile.c File Reference
#include "suricata-common.h"
Include dependency graph for onefile.c:

Go to the source code of this file.

Functions

int LLVMFuzzerTestOneInput (const uint8_t *Data, size_t Size)
 
int main (int argc, char **argv)
 

Function Documentation

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t *  Data,
size_t  Size 
)

Definition at line 53 of file fuzz_applayerparserparse.c.

References alp_tctx, Flow_::alparser, alpd_tctx, Flow_::alproto, ALPROTO_HTTP, ALPROTO_HTTP1, ALPROTO_UNKNOWN, APP_LAYER_PARSER_EOF_TC, APP_LAYER_PARSER_EOF_TS, AppLayerParserParse(), AppLayerParserThreadCtxAlloc(), AppLayerParserTransactionsCleanup(), AppLayerProtoDetectGetCtxThread(), AppLayerProtoDetectGetProto(), AppLayerSetup(), AppProtoToString(), BLK_SIZE, BUG_ON, configNoChecksum, ConfigSetLogDirectory(), Packet_::datalink, de_ctx, DE_QUIET, ThreadVars_::decode_pq, DecodeRegisterPerfCounters(), DecodeThreadVarsAlloc(), SCInstance_::delayed_detect, DetectEngineCtxFree(), DetectEngineCtxInit(), DetectEngineGetCurrent(), DetectEngineReload(), DetectEngineThreadCtxDeinit(), DetectEngineThreadCtxInitForReload(), Flow_::dp, Flow_::dst, dtv, EngineModeSetIDS(), FileContainerAlloc(), FileContainerFree(), filepath, flags, DetectEngineCtx_::flags, Flow_::flags, FLOW_IPV4, ThreadVars_::flow_queue, FLOW_SGH_TOCLIENT, FLOW_SGH_TOSERVER, FlowAlloc(), FlowChangeProto(), FlowFree(), FlowGetProtoMapping(), FLOWLOCK_UNLOCK, FLOWLOCK_WRLOCK, FlowQueueNew(), FlowReset(), FlowWorkerGetDetectCtxPtr(), FlowWorkerReplaceDetectCtx(), forceLayer, TmModule_::Func, fwd, g_alproto_max, GlobalsInitPreConfig(), HEADER_LEN, InitGlobal(), len, max_pending_packets, MpmTableSetup(), next, Signature_::next, PacketCopyData(), PacketDequeueNoLock(), PacketFree(), PacketFreeOrRelease(), PacketGetFromAlloc(), PacketPoolInit(), PacketRecycle(), Packet_::pcap_cnt, PcapFileGlobalInit(), Packet_::pkt_src, PKT_SRC_WIRE, TmModule_::PktAcqLoop, PostConfLoadedDetectSetup(), PostConfLoadedSetup(), PreRunPostPrivsDropInit(), Flow_::proto, Flow_::protoctx, Flow_::protomap, DetectEngineCtx_::ref_cnt, DetectEngineCtx_::rule_file, RUNMODE_PCAP_FILE, RUNMODE_UNITTEST, RunModeInitializeThreadSettings(), SC_ATOMIC_SET, SCAppLayerParserStateIssetFlag(), SCConfYamlLoadString(), SCRunmodeGet(), SCRunmodeSet(), SCTIME_FROM_TIMEVAL, separator, setenv(), SCInstance_::sig_file, SCInstance_::sig_file_exclusive, SigFree(), SigInit(), SigTableInit(), SigTableSetup(), TmSlot_::slot_next, Flow_::sp, SpmTableSetup(), Flow_::src, StatsSetupPrivate(), STREAMING_BUFFER_CONFIG_INITIALIZER, StringToAppProto(), suricata_ctl_flags, SURICATA_RUNTIME, surifuzz, target_suffix, TestHelperBufferToFile(), TestHelperBuildFlow(), TmModule_::ThreadDeinit, TmModule_::ThreadInit, TimeModeSetOffline(), TM_ECODE_FAILED, TM_ECODE_OK, ThreadVars_::tm_slots, TMM_DECODEPCAPFILE, TMM_FLOWWORKER, tmm_modules, TMM_RECEIVEPCAPFILE, TmModuleGetByName(), TmSlotSetFuncAppend(), TmThreadCreatePacketHandler(), Packet_::ts, ts, and tv.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 45 of file onefile.c.