suricata
detect-base64-decode.c File Reference
#include "suricata-common.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-base64-decode.h"
#include "util-base64.h"
#include "util-byte.h"
#include "util-print.h"
#include "detect-engine.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "app-layer-parser.h"
#include "flow-util.h"
#include "stream-tcp.h"
Include dependency graph for detect-base64-decode.c:

Go to the source code of this file.

Macros

#define BASE64_DECODE_MAX   65535
 

Functions

void DetectBase64DecodeRegister (void)
 
int DetectBase64DecodeDoMatch (DetectEngineThreadCtx *det_ctx, const Signature *s, const SigMatchData *smd, const uint8_t *payload, uint32_t payload_len)
 

Macro Definition Documentation

◆ BASE64_DECODE_MAX

#define BASE64_DECODE_MAX   65535

Definition at line 28 of file detect-base64-decode.c.

Function Documentation

◆ DetectBase64DecodeDoMatch()

int DetectBase64DecodeDoMatch ( DetectEngineThreadCtx det_ctx,
const Signature s,
const SigMatchData smd,
const uint8_t *  payload,
uint32_t  payload_len 
)

◆ DetectBase64DecodeRegister()

void DetectBase64DecodeRegister ( void  )

Definition at line 41 of file detect-base64-decode.c.

References SigTableElmt_::desc, DETECT_BASE64_DECODE, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: