|
Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
| #define | CHAR_BIT (8) |
| #define | BITBUF_WIDTH (sizeof(bit_buffer) * CHAR_BIT) |
| #define | INIT_BITS |
| #define | STORE_BITS |
| #define | RESTORE_BITS |
| #define | ENSURE_BITS(nbits) |
| #define | READ_BITS(val, nbits) |
| #define | READ_MANY_BITS(val, bits) |
| #define | PEEK_BITS(nbits) (bit_buffer & ((1 << (nbits))-1)) |
| #define | REMOVE_BITS(nbits) ((bit_buffer >>= (nbits)), (bits_left -= (nbits))) |
| #define | INJECT_BITS(bitdata, nbits) |
| #define | READ_IF_NEEDED |
Functions | |
| static int | read_input (BITS_TYPE *p) |
| #define BITBUF_WIDTH (sizeof(bit_buffer) * CHAR_BIT) |
Definition at line 101 of file readbits.h.
| #define CHAR_BIT (8) |
Definition at line 99 of file readbits.h.
| #define ENSURE_BITS | ( | nbits | ) |
Definition at line 125 of file readbits.h.
| #define INIT_BITS |
| #define INJECT_BITS | ( | bitdata, | |
| nbits | |||
| ) |
Definition at line 155 of file readbits.h.
| #define PEEK_BITS | ( | nbits | ) | (bit_buffer & ((1 << (nbits))-1)) |
Definition at line 153 of file readbits.h.
| #define READ_BITS | ( | val, | |
| nbits | |||
| ) |
Definition at line 129 of file readbits.h.
| #define READ_IF_NEEDED |
Definition at line 174 of file readbits.h.
Definition at line 135 of file readbits.h.
| #define REMOVE_BITS | ( | nbits | ) | ((bit_buffer >>= (nbits)), (bits_left -= (nbits))) |
Definition at line 154 of file readbits.h.
| #define RESTORE_BITS |
| #define STORE_BITS |
Definition at line 111 of file readbits.h.
Definition at line 183 of file readbits.h.
References D, MSPACK_ERR_OK, MSPACK_ERR_READ, p, and read().