Rizin
unix-like reverse engineering framework and cli tools
|
Generate crc64_table_le.h and crc64_table_be.h. More...
Go to the source code of this file.
Functions | |
void | init_crc64_table (void) |
static void | print_crc64_table (void) |
int | main (void) |
Variables | |
static uint64_t | crc64_table [4][256] |
Generate crc64_table_le.h and crc64_table_be.h.
Compiling: gcc -std=c99 -o crc64_tablegen crc64_tablegen.c Add -DWORDS_BIGENDIAN to generate big endian table.
Definition in file crc64_tablegen.c.
void init_crc64_table | ( | void | ) |
Definition at line 24 of file crc64_tablegen.c.
References b, bswap64, crc64_table, i, r, s, and UINT64_C.
Referenced by main().
int main | ( | void | ) |
Definition at line 83 of file crc64_tablegen.c.
References init_crc64_table(), and print_crc64_table().
|
static |
Definition at line 54 of file crc64_tablegen.c.
References b, crc64_table, printf(), PRIX64, and s.
Referenced by main().
|
static |
Definition at line 20 of file crc64_tablegen.c.
Referenced by init_crc64_table(), and print_crc64_table().