Go to the documentation of this file.
16 static uint32_t
cnt = 0;
22 setenv(
"SC_LOG_OP_IFACE",
"file", 0);
23 setenv(
"SC_LOG_FILE",
"/dev/null", 0);
45 char * buffer = malloc(size+1);
47 memcpy(buffer, data, size);
void SigFree(DetectEngineCtx *, Signature *)
void SCRunmodeSet(int run_mode)
Set the current run mode.
main detection engine ctx
void DetectEngineCtxFree(DetectEngineCtx *)
Free a DetectEngineCtx::
void EngineModeSetIDS(void)
Signature * SigInit(DetectEngineCtx *de_ctx, const char *sigstr)
Parses a signature and adds it to the Detection Engine Context.
void setenv(const char *name, const char *value, int overwrite)
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
DetectEngineCtx * DetectEngineCtxInit(void)
int InitGlobal(void)
Global initialization common to all runmodes.