|
suricata
|
#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 "tm-modules.h"#include "tmqh-packetpool.h"#include "util-conf.h"#include "packet.h"#include <fuzz_pcap.h>
Go to the source code of this file.
Functions | |
| int | LLVMFuzzerInitialize (const int *argc, char ***argv) |
| int | LLVMFuzzerTestOneInput (const uint8_t *data, size_t size) |
| SC_ATOMIC_EXTERN (unsigned int, engine_stage) | |
Variables | |
| ThreadVars | tv |
| DecodeThreadVars * | dtv |
| void * | fwd |
| SCInstance | surifuzz |
| const char * | configNoChecksum |
| char * | filepath = NULL |
Definition in file fuzz_predefpcap_aware.c.
| int LLVMFuzzerInitialize | ( | const int * | argc, |
| char *** | argv | ||
| ) |
Definition at line 49 of file fuzz_predefpcap_aware.c.
References filepath.
| int LLVMFuzzerTestOneInput | ( | const uint8_t * | data, |
| size_t | size | ||
| ) |
Definition at line 55 of file fuzz_predefpcap_aware.c.
References configNoChecksum, ConfigSetLogDirectory(), Packet_::datalink, ThreadVars_::decode_pq, DecodeRegisterPerfCounters(), DecodeThreadVarsAlloc(), SCInstance_::delayed_detect, DetectEngineReload(), dtv, filepath, ThreadVars_::flow_queue, FlowQueueNew(), FlowReset(), TmModule_::Func, fwd, GlobalsInitPreConfig(), InitGlobal(), max_pending_packets, PacketCopyData(), PacketDequeueNoLock(), PacketFree(), PacketFreeOrRelease(), PacketGetFromAlloc(), PacketPoolInit(), PacketRecycle(), Packet_::pcap_cnt, Packet_::pkt_src, PKT_SRC_WIRE, PostConfLoadedDetectSetup(), PostConfLoadedSetup(), PreRunPostPrivsDropInit(), RUNMODE_PCAP_FILE, SC_ATOMIC_SET, SCConfYamlLoadString(), SCRunmodeGet(), SCRunmodeSet(), SCTIME_FROM_TIMEVAL, setenv(), SCInstance_::sig_file, SCInstance_::sig_file_exclusive, StatsSetupPrivate(), SURICATA_RUNTIME, surifuzz, TmModule_::ThreadInit, TM_ECODE_FAILED, TMM_DECODEPCAPFILE, TMM_FLOWWORKER, tmm_modules, Packet_::ts, and tv.

| SC_ATOMIC_EXTERN | ( | unsigned int | , |
| engine_stage | |||
| ) |
|
extern |
Definition at line 1 of file confyaml.c.
Referenced by LLVMFuzzerTestOneInput().
| DecodeThreadVars* dtv |
Definition at line 39 of file fuzz_predefpcap_aware.c.
Referenced by LLVMFuzzerTestOneInput().
| char* filepath = NULL |
Definition at line 47 of file fuzz_predefpcap_aware.c.
Referenced by LLVMFuzzerInitialize(), and LLVMFuzzerTestOneInput().
| void* fwd |
Definition at line 41 of file fuzz_predefpcap_aware.c.
Referenced by LLVMFuzzerTestOneInput().
| SCInstance surifuzz |
Definition at line 42 of file fuzz_predefpcap_aware.c.
Referenced by LLVMFuzzerTestOneInput().
| ThreadVars tv |
Definition at line 38 of file fuzz_predefpcap_aware.c.
Referenced by LLVMFuzzerTestOneInput().