Rizin
unix-like reverse engineering framework and cli tools
|
Tests Filter Flags coders. More...
#include "tests.h"
Go to the source code of this file.
Functions | |
static bool | encode (uint32_t known_size) |
static bool | decode_ret (uint32_t known_size, lzma_ret expected_ret) |
static bool | decode (uint32_t known_size) |
int | main (void) |
Variables | |
static uint8_t | buffer [4096] |
static lzma_filter | known_flags |
static lzma_filter | decoded_flags |
static lzma_stream | strm = LZMA_STREAM_INIT |
Tests Filter Flags coders.
Definition in file test_filter_flags.c.
Definition at line 62 of file test_filter_flags.c.
References decode_ret(), decoded_flags, lzma_filter::id, known_flags, and LZMA_OK.
Definition at line 47 of file test_filter_flags.c.
References decoded_flags, memcrap, NULL, and pos.
Referenced by decode().
Definition at line 23 of file test_filter_flags.c.
References known_flags, LZMA_OK, memcrap, out_pos, and autogen_x86imm::tmp.
int main | ( | void | ) |
Definition at line 16 of file test_filter_flags.c.
|
static |
Definition at line 18 of file test_filter_flags.c.
Referenced by decode(), and decode_ret().
|
static |
Definition at line 17 of file test_filter_flags.c.
|
static |
Definition at line 19 of file test_filter_flags.c.
Referenced by main().