Rizin
unix-like reverse engineering framework and cli tools
kwaj.h File Reference
#include <lzss.h>

Go to the source code of this file.

Classes

struct  mskwaj_compressor_p
 
struct  mskwaj_decompressor_p
 
struct  mskwajd_header_p
 
struct  kwajd_stream
 

Macros

#define kwajh_Signature1   (0x00)
 
#define kwajh_Signature2   (0x04)
 
#define kwajh_CompMethod   (0x08)
 
#define kwajh_DataOffset   (0x0a)
 
#define kwajh_Flags   (0x0c)
 
#define kwajh_SIZEOF   (0x0e)
 
#define KWAJ_INPUT_SIZE   (2048)
 
#define KWAJ_TABLEBITS   (9)
 
#define KWAJ_MATCHLEN1_SYMS   (16)
 
#define KWAJ_MATCHLEN2_SYMS   (16)
 
#define KWAJ_LITLEN_SYMS   (32)
 
#define KWAJ_OFFSET_SYMS   (64)
 
#define KWAJ_LITERAL_SYMS   (256)
 
#define KWAJ_TABLESIZE   (1 << KWAJ_TABLEBITS)
 
#define KWAJ_MATCHLEN1_TBLSIZE   (KWAJ_TABLESIZE + (KWAJ_MATCHLEN1_SYMS * 2))
 
#define KWAJ_MATCHLEN2_TBLSIZE   (KWAJ_TABLESIZE + (KWAJ_MATCHLEN2_SYMS * 2))
 
#define KWAJ_LITLEN_TBLSIZE   (KWAJ_TABLESIZE + (KWAJ_LITLEN_SYMS * 2))
 
#define KWAJ_OFFSET_TBLSIZE   (KWAJ_TABLESIZE + (KWAJ_OFFSET_SYMS * 2))
 
#define KWAJ_LITERAL_TBLSIZE   (KWAJ_TABLESIZE + (KWAJ_LITERAL_SYMS * 2))
 

Macro Definition Documentation

◆ KWAJ_INPUT_SIZE

#define KWAJ_INPUT_SIZE   (2048)

Definition at line 47 of file kwaj.h.

◆ KWAJ_LITERAL_SYMS

#define KWAJ_LITERAL_SYMS   (256)

Definition at line 57 of file kwaj.h.

◆ KWAJ_LITERAL_TBLSIZE

#define KWAJ_LITERAL_TBLSIZE   (KWAJ_TABLESIZE + (KWAJ_LITERAL_SYMS * 2))

Definition at line 84 of file kwaj.h.

◆ KWAJ_LITLEN_SYMS

#define KWAJ_LITLEN_SYMS   (32)

Definition at line 55 of file kwaj.h.

◆ KWAJ_LITLEN_TBLSIZE

#define KWAJ_LITLEN_TBLSIZE   (KWAJ_TABLESIZE + (KWAJ_LITLEN_SYMS * 2))

Definition at line 74 of file kwaj.h.

◆ KWAJ_MATCHLEN1_SYMS

#define KWAJ_MATCHLEN1_SYMS   (16)

Definition at line 53 of file kwaj.h.

◆ KWAJ_MATCHLEN1_TBLSIZE

#define KWAJ_MATCHLEN1_TBLSIZE   (KWAJ_TABLESIZE + (KWAJ_MATCHLEN1_SYMS * 2))

Definition at line 64 of file kwaj.h.

◆ KWAJ_MATCHLEN2_SYMS

#define KWAJ_MATCHLEN2_SYMS   (16)

Definition at line 54 of file kwaj.h.

◆ KWAJ_MATCHLEN2_TBLSIZE

#define KWAJ_MATCHLEN2_TBLSIZE   (KWAJ_TABLESIZE + (KWAJ_MATCHLEN2_SYMS * 2))

Definition at line 69 of file kwaj.h.

◆ KWAJ_OFFSET_SYMS

#define KWAJ_OFFSET_SYMS   (64)

Definition at line 56 of file kwaj.h.

◆ KWAJ_OFFSET_TBLSIZE

#define KWAJ_OFFSET_TBLSIZE   (KWAJ_TABLESIZE + (KWAJ_OFFSET_SYMS * 2))

Definition at line 79 of file kwaj.h.

◆ KWAJ_TABLEBITS

#define KWAJ_TABLEBITS   (9)

Definition at line 50 of file kwaj.h.

◆ KWAJ_TABLESIZE

#define KWAJ_TABLESIZE   (1 << KWAJ_TABLEBITS)

Definition at line 60 of file kwaj.h.

◆ kwajh_CompMethod

#define kwajh_CompMethod   (0x08)

Definition at line 18 of file kwaj.h.

◆ kwajh_DataOffset

#define kwajh_DataOffset   (0x0a)

Definition at line 19 of file kwaj.h.

◆ kwajh_Flags

#define kwajh_Flags   (0x0c)

Definition at line 20 of file kwaj.h.

◆ kwajh_Signature1

#define kwajh_Signature1   (0x00)

Definition at line 16 of file kwaj.h.

◆ kwajh_Signature2

#define kwajh_Signature2   (0x04)

Definition at line 17 of file kwaj.h.

◆ kwajh_SIZEOF

#define kwajh_SIZEOF   (0x0e)

Definition at line 21 of file kwaj.h.