|
suricata
|
#include "suricata-common.h"#include "detect-engine.h"#include "detect-engine-build.h"#include "detect-parse.h"#include "util-fmemopen.h"#include "reputation.h"#include "util-unittest-helper.h"#include "tmqh-packetpool.h"#include "util-conf.h"#include "stream-tcp-private.h"#include "stream-tcp.h"#include "app-layer-parser.h"#include "flow-util.h"#include "flow-worker.h"#include "rust.h"#include "tm-modules.h"#include "datasets.h"
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 |
| ThreadVars * | th_v |
| Packet * | p |
| TcpSession | ssn |
| Flow | f |
| uint8_t | http_buf1 [] = "GET /" |
| uint32_t | http_len1 = sizeof(http_buf1) - 1 |
| uint8_t | http_buf2 [] |
| uint32_t | http_len2 = sizeof(http_buf2) - 1 |
| AppLayerParserThreadCtx * | alp_tctx = NULL |
| void * | fwd |
Definition in file fuzz_dataset.c.
| int LLVMFuzzerTestOneInput | ( | const uint8_t * | data, |
| size_t | size | ||
| ) |
Definition at line 43 of file fuzz_dataset.c.
| SC_ATOMIC_EXTERN | ( | unsigned int | , |
| engine_stage | |||
| ) |
| AppLayerParserThreadCtx* alp_tctx = NULL |
Definition at line 38 of file fuzz_dataset.c.
| Flow f |
Definition at line 32 of file fuzz_dataset.c.
Referenced by AppLayerExpectationCreate(), AppLayerFrameDump(), AppLayerFrameGetById(), AppLayerFramesFreeContainer(), AppLayerFramesGetContainer(), AppLayerFramesSetupContainer(), AppLayerFramesSlide(), AppLayerHandleTCPData(), AppLayerHandleUdp(), AppLayerIncAllocErrorCounter(), AppLayerIncGapErrorCounter(), AppLayerIncInternalErrorCounter(), AppLayerIncParserErrorCounter(), AppLayerIncTxCounter(), AppLayerParserParse(), AppLayerParserSetTransactionInspectId(), AppLayerParserStateCleanup(), AppLayerParserTransactionsCleanup(), AppLayerProtoDetectGetProto(), AppLayerProtoDetectReset(), AppLayerRequestProtocolChange(), BypassedFlowUpdate(), CreateEveFlowId(), CreateEveHeader(), DetectEngineInspectFiledata(), DetectEngineInspectGenericList(), DetectEngineInspectMultiBufferGeneric(), DetectEngineInspectPacketPayload(), DetectEngineInspectStreamPayload(), DetectFileInspectGeneric(), DetectLuaMatchBuffer(), DetectRunFrameInspectRule(), DetectRunStoreStateTx(), EveAddAppProto(), EveAddCommonOptions(), EveAddFlow(), EveAddMetadata(), FileUpdateFlowFileFlags(), FlowAlloc(), FlowChangeProto(), FlowCleanupAppLayer(), FlowClearMemory(), FlowDequeue(), FlowEnqueue(), FlowFree(), FlowGetDisruptionFlags(), FlowGetExistingFlowFromFlowId(), FlowGetFlowFromHash(), FlowGetFromFlowKey(), FlowGetPacketDirection(), FlowHandlePacket(), FlowHandlePacketUpdate(), FlowHasAlerts(), FlowInit(), FlowNeedsReassembly(), FlowQueuePrivateAppendFlow(), FlowQueuePrivateGetFromTop(), FlowQueuePrivatePrependFlow(), FlowReset(), FlowSendToLocalThread(), FlowSetChangeProtoFlag(), FlowSetHasAlertsFlag(), FlowShutdown(), FlowSwap(), FlowUnsetChangeProtoFlag(), FlowUpdateState(), FlowVarAddFloat(), FlowVarAddIdValue(), FlowVarAddInt(), FlowVarAddIntNoLock(), FlowVarAddKeyValue(), FlowVarGet(), FlowVarGetByKey(), FrameJsonLogOneFrame(), FramesPrune(), LLVMFuzzerTestOneInput(), LuaExtensionsMatchSetup(), LuaStateGetFlow(), LuaStateSetFlow(), OutputEmailInitConf(), OutputJsonBuilderBuffer(), PrefilterPostRuleMatch(), ProvidesFeature(), SCAppLayerForceProtocolChange(), SCAppLayerFrameAddEventById(), SCAppLayerFrameSetLengthById(), SCAppLayerFrameSetTxIdById(), SCAppLayerParserTriggerRawStreamInspection(), SCAppLayerRequestProtocolTLSUpgrade(), SCDetectHelperKeywordRegister(), SCFlowFreeStorage(), SCFlowFreeStorageById(), SCFlowGetAppProtocol(), SCFlowGetStorageById(), SCFlowSetStorageById(), SCRequiresFeature(), SigAddressCleanupStage1(), StreamTcpAppLayerIsDisabled(), StreamTcpDetectLogFlush(), StreamTcpDisableAppLayer(), StreamTcpPruneSession(), TestHelperBuildFlow(), UTHAddSessionToFlow(), UTHAddStreamToFlow(), UTHAssignFlow(), UTHBuildPacketOfFlows(), and UTHRemoveSessionFromFlow().
| void* fwd |
Definition at line 41 of file fuzz_dataset.c.
| uint8_t http_buf1[] = "GET /" |
Definition at line 33 of file fuzz_dataset.c.
| uint8_t http_buf2[] |
Definition at line 35 of file fuzz_dataset.c.
| uint32_t http_len1 = sizeof(http_buf1) - 1 |
Definition at line 34 of file fuzz_dataset.c.
| uint32_t http_len2 = sizeof(http_buf2) - 1 |
Definition at line 37 of file fuzz_dataset.c.
| Packet* p |
Definition at line 30 of file fuzz_dataset.c.
Referenced by AlertFastLogger(), AlertJsonHeader(), AppLayerHandleUdp(), AppLayerParserGetTxDetectProgress(), AppLayerParserParse(), AppLayerParserTransactionsCleanup(), AppLayerProfilingStoreInternal(), AppLayerProtoDetectHasProbingParsers(), BypassedFlowUpdate(), CaptureStatsUpdate(), CIDRFromMask(), CreateEveHeader(), CreateEveHeaderWithTxId(), DecodeARP(), DecodeCHDLC(), DecodeErfDag(), DecodeERSPAN(), DecodeERSPANTypeI(), DecodeETag(), DecodeEthernet(), DecodeGRE(), DecodeICMPV4(), DecodeIGMP(), DecodeIPV6FragHeader(), DecodeNSH(), DecodeNull(), DecodePPP(), DecodePPPOEDiscovery(), DecodePPPOESession(), DecodeRaw(), DecodeSll(), DecodeSll2(), DecodeUpdatePacketCounters(), DecodeVLAN(), DecodeVNTag(), DefragPolicyLoadFromConfig(), Detect(), DetectEngineAppHookToName(), DetectEngineAppHookToSmlist(), DetectEngineInspectFrameBufferGeneric(), DetectEngineInspectPacketPayload(), DetectEngineInspectPktBufferGeneric(), DetectEngineInspectStream(), DetectEngineInspectStreamPayload(), DetectEnginePktInspectionRun(), DetectFileRegisterFileProtocols(), DetectFirewallPolicyToString(), DetectFlowintMatch(), DetectFlowMatch(), DetectFlowvarMatch(), DetectPortLookupGroup(), DetectPreFlow(), DetectPreStream(), DetectReplaceExecuteInternal(), DetectRunFrameInspectRule(), DetectRunPrefilterFrame(), DetectRunPrefilterTx(), DumpPatterns(), EveAddCommonOptions(), EveAddMetadata(), EveAddVerdict(), EvePacket(), ExceptionPolicyParse(), FlowGetFlowFromHash(), FlowGetPacketDirection(), FlowHandlePacket(), FlowHandlePacketUpdate(), FlowInit(), FlowPseudoPacketGet(), FlowSetupPacket(), FlowSparePoolReturnFlows(), FlowSparePoolUpdate(), FrameConfigEnableAll(), FrameJsonLogOneFrame(), FramesPrune(), IPOnlyMatchPacket(), JsonBuildFileInfoRecord(), ListAppLayerHooks(), LLVMFuzzerTestOneInput(), LuaExtensionsMatchSetup(), LuaStateGetPacket(), LuaStateSetPacket(), MpmAddPattern(), MpmFreePattern(), OutputJsonBuilderBuffer(), PacketAlertCheck(), PacketBypassCallback(), PacketCallocExtPkt(), PacketCheckAction(), PacketCopyData(), PacketCopyDataOffset(), PacketCreateMask(), PacketDecodeFinalize(), PacketDefragPktSetup(), PacketDequeueNoLock(), PacketDestructor(), PacketDrop(), PacketEnqueueNoLock(), PacketFree(), PacketFreeOrRelease(), PacketGetAction(), PacketGetFromAlloc(), PacketGetFromQueueOrAlloc(), PacketInit(), PacketPoolDestroy(), PacketRecycle(), PacketReinit(), PacketSetData(), PacketSwap(), PacketTunnelPktSetup(), PacketUpdateEngineEventCounters(), PcapFileReleasePseudoPacket(), PktVarAdd(), PktVarAddKeyValue(), PktVarGet(), PoolFree(), PoolGet(), PoolReturn(), Prefilter(), PrefilterPostRuleMatch(), ReceiveErfFileLoop(), RejectSendIPv4ICMP(), RejectSendIPv4TCP(), RejectSendIPv6ICMP(), RejectSendIPv6TCP(), RulesDumpMatchArray(), RulesDumpTxMatchArray(), SCACPreparePatterns(), SCACTilePreparePatterns(), SCAppLayerParserRegisterGetTxSubStateFuncs(), SCAppLayerRegisterParser(), SCAppLayerRegisterProtocolDetection(), SCBPFCompile(), SCCreateDirectoryTree(), SCPacketSetDatalink(), SCPacketSetLiveDevice(), SCPacketSetSource(), SCPacketSetTime(), SCPortIntervalInsert(), SCProfileRuleStart(), SCProfilingAddPacket(), SCProfilingKeywordUpdateCounter(), SCProfilingPrefilterUpdateCounter(), SCProfilingSghUpdateCounter(), SigAddressCleanupStage1(), SigMatchSignatures(), StreamReassembleRawHasDataReady(), StreamReassembleRawUpdateProgress(), StreamSegmentForEach(), StreamSegmentForSession(), StreamTcp(), StreamTcpDetectLogFlush(), StreamTcpInlineSegmentCompare(), StreamTcpPacket(), StreamTcpReassembleAppLayer(), StreamTcpReassembleDepthReached(), StreamTcpReassembleHandleSegmentHandleData(), StreamTcpSegmentForEach(), StreamTcpSegmentForSession(), StreamTcpSessionPktFree(), StreamTcpUTAddPayload(), StreamTcpUTAddSegmentWithByte(), StreamTcpUTAddSegmentWithPayload(), TagFlowAdd(), TagHandlePacket(), TagHashAddTag(), TcpSessionPacketSsnReuse(), TmqhInputFlow(), TmqhInputSimple(), TmqhOutputFlowHash(), TmqhOutputFlowIPPair(), TmqhOutputPacketpool(), TmqhOutputSimple(), TmqhReleasePacketsToPacketPool(), TmThreadsSlotVarRun(), TmThreadTimeoutLoop(), UTHAssignFlow(), UTHBuildPacketFromEth(), UTHBuildPacketIPV6Real(), UTHBuildPacketOfFlows(), UTHBuildPacketReal(), UTHCheckPacketMatchResults(), UTHFreePacket(), UTHFreePackets(), UTHMatchPackets(), UTHMatchPacketsWithResults(), UTHPacketMatchSig(), and UTHPacketMatchSigMpm().
| TcpSession ssn |
Definition at line 31 of file fuzz_dataset.c.
Referenced by AppLayerFramesSlide(), AppLayerHandleTCPData(), EveAddFlowTcpFlags(), FlowGetDisruptionFlags(), FlowNeedsReassembly(), LLVMFuzzerTestOneInput(), StreamNeedsReassembly(), StreamReassembleRawHasDataReady(), StreamReassembleRawUpdateProgress(), StreamTcpAppLayerIsDisabled(), StreamTcpDetectLogFlush(), StreamTcpDisableAppLayer(), StreamTcpPacket(), StreamTcpPruneSession(), StreamTcpReassembleAppLayer(), StreamTcpReassembleDepthReached(), StreamTcpReassembleHandleSegmentHandleData(), StreamTcpReassembleTriggerRawInspection(), StreamTcpReassemblySetMinInspectDepth(), StreamTcpSegmentForEach(), StreamTcpSegmentForSession(), StreamTcpSessionCleanup(), StreamTcpSessionClear(), StreamTcpSessionPktFree(), StreamTcpSetDisableRawReassemblyFlag(), StreamTcpSetSessionBypassFlag(), StreamTcpSetSessionNoReassemblyFlag(), StreamTcpThreadCacheReturnSession(), StreamTcpUpdateAppLayerProgress(), StreamTcpUTAddPayload(), StreamTcpUTClearSession(), StreamTcpUTSetupSession(), TcpSessionSetReassemblyDepth(), UTHAddSessionToFlow(), UTHAddStreamToFlow(), and UTHRemoveSessionFromFlow().
| SCInstance surifuzz |
Definition at line 27 of file fuzz_dataset.c.
| ThreadVars* th_v |
Definition at line 29 of file fuzz_dataset.c.
Referenced by UTHBuildPacketFromEth(), UTHMatchPackets(), UTHMatchPacketsWithResults(), UTHPacketMatchSig(), and UTHPacketMatchSigMpm().