Rizin
unix-like reverse engineering framework and cli tools
|
#include <file_io.h>
Public Attributes | |
uint8_t | u8 [IO_BUFFER_SIZE] |
uint32_t | u32 [IO_BUFFER_SIZE/sizeof(uint32_t)] |
uint64_t | u64 [IO_BUFFER_SIZE/sizeof(uint64_t)] |
is_sparse() accesses the buffer as uint64_t for maximum speed. The u32 and u64 members must only be access through this union to avoid strict aliasing violations. Taking a pointer of u8 should be fine as long as uint8_t maps to unsigned char which can alias anything.
uint32_t io_buf::u32[IO_BUFFER_SIZE/sizeof(uint32_t)] |
uint64_t io_buf::u64[IO_BUFFER_SIZE/sizeof(uint64_t)] |
uint8_t io_buf::u8[IO_BUFFER_SIZE] |
Definition at line 28 of file file_io.h.
Referenced by coder_normal(), coder_run(), and coder_write_output().