suricata
detect-icode.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine-prefilter-common.h"
#include "detect-engine-uint.h"
#include "detect-engine-build.h"
#include "detect-icode.h"
#include "util-byte.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "util-debug.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-alert.h"
Include dependency graph for detect-icode.c:

Go to the source code of this file.

Functions

void DetectICodeFree (DetectEngineCtx *de_ctx, void *ptr)
 this function will free memory associated with DetectU8Data More...
 
void DetectICodeRegister (void)
 Registration function for icode: keyword. More...
 

Detailed Description

Author
Gerardo Iglesias igles.nosp@m.iasg.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Implements icode keyword support

Author
Gerardo Iglesias igles.nosp@m.iasg.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Definition in file detect-icode.c.

Function Documentation

◆ DetectICodeFree()

void DetectICodeFree ( DetectEngineCtx de_ctx,
void *  ptr 
)

this function will free memory associated with DetectU8Data

Parameters
ptrpointer to DetectU8Data

Definition at line 141 of file detect-icode.c.

◆ DetectICodeRegister()

void DetectICodeRegister ( void  )

Registration function for icode: keyword.

Definition at line 60 of file detect-icode.c.

References SigTableElmt_::desc, DETECT_ICODE, SigTableElmt_::Match, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: