suricata
util-file-swf-decompression.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MIN_SWF_LEN   2920
 

Functions

uint8_t FileGetSwfVersion (const uint8_t *buffer, const uint32_t buffer_len)
 
uint32_t FileGetSwfDecompressedLen (const uint8_t *buffer, uint32_t buffr_len)
 
int FileSwfZlibDecompression (DetectEngineThreadCtx *det_ctx, uint8_t *compressed_data, uint32_t compressed_data_len, uint8_t *decompressed_data, uint32_t decompressed_data_len)
 

Detailed Description

Macro Definition Documentation

#define MIN_SWF_LEN   2920

Definition at line 31 of file util-file-swf-decompression.h.

Referenced by FileSwfDecompression().

Function Documentation

uint32_t FileGetSwfDecompressedLen ( const uint8_t *  buffer,
uint32_t  buffr_len 
)

Definition at line 46 of file util-file-swf-decompression.c.

References len, MAX_SWF_DECOMPRESSED_LEN, and MIN.

Referenced by FileSwfDecompression().

Here is the caller graph for this function:

uint8_t FileGetSwfVersion ( const uint8_t *  buffer,
const uint32_t  buffer_len 
)

Definition at line 71 of file util-file-swf-decompression.c.

Referenced by FileSwfDecompression().

Here is the caller graph for this function:

int FileSwfZlibDecompression ( DetectEngineThreadCtx det_ctx,
uint8_t *  compressed_data,
uint32_t  compressed_data_len,
uint8_t *  decompressed_data,
uint32_t  decompressed_data_len 
)