Go to the documentation of this file.
17 static uint32_t
cnt = 0;
23 setenv(
"SC_LOG_OP_IFACE",
"file", 0);
24 setenv(
"SC_LOG_FILE",
"/dev/null", 0);
47 char * buffer = malloc(size+1);
49 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::
int AppLayerSetup(void)
Setup the app layer.
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.