25#ifndef SURICATA_UTIL_FILE_SWF_DECOMPRESSION_H
26#define SURICATA_UTIL_FILE_SWF_DECOMPRESSION_H
31#define MIN_SWF_LEN 2920
36 uint8_t *compressed_data, uint32_t compressed_data_len,
37 uint8_t *decompressed_data, uint32_t decompressed_data_len);
39 uint8_t *compressed_data, uint32_t compressed_data_len,
40 uint8_t *decompressed_data, uint32_t decompressed_data_len);
uint8_t FileGetSwfVersion(const uint8_t *buffer, const uint32_t buffer_len)
uint32_t FileGetSwfDecompressedLen(const uint8_t *buffer, uint32_t buffer_len)
int FileSwfZlibDecompression(DetectEngineThreadCtx *det_ctx, uint8_t *compressed_data, uint32_t compressed_data_len, uint8_t *decompressed_data, uint32_t decompressed_data_len)
int FileSwfLzmaDecompression(DetectEngineThreadCtx *det_ctx, uint8_t *compressed_data, uint32_t compressed_data_len, uint8_t *decompressed_data, uint32_t decompressed_data_len)