Rizin
unix-like reverse engineering framework and cli tools
|
Generate crc32_table_le.h and crc32_table_be.h. More...
Go to the source code of this file.
Functions | |
static void | init_crc32_table (void) |
static void | print_crc32_table (void) |
static void | print_lz_table (void) |
int | main (void) |
Variables | |
static uint32_t | crc32_table [8][256] |
Generate crc32_table_le.h and crc32_table_be.h.
Compiling: gcc -std=c99 -o crc32_tablegen crc32_tablegen.c Add -DWORDS_BIGENDIAN to generate big endian table. Add -DLZ_HASH_TABLE to generate lz_encoder_hash_table.h (little endian).
Definition in file crc32_tablegen.c.
|
static |
Definition at line 25 of file crc32_tablegen.c.
References b, bswap32, crc32_table, i, r, s, and UINT32_C.
Referenced by main().
int main | ( | void | ) |
Definition at line 106 of file crc32_tablegen.c.
References init_crc32_table(), print_crc32_table(), and print_lz_table().
|
static |
Definition at line 55 of file crc32_tablegen.c.
References b, crc32_table, printf(), PRIX32, and s.
Referenced by main().
|
static |
Definition at line 83 of file crc32_tablegen.c.
References b, crc32_table, printf(), and PRIX32.
Referenced by main().
|
static |
Definition at line 21 of file crc32_tablegen.c.
Referenced by init_crc32_table(), print_crc32_table(), and print_lz_table().