Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_util.h>
Go to the source code of this file.
Classes | |
struct | buf_mmap_user |
struct | buf_mmap_priv |
Functions | |
static struct buf_mmap_priv * | get_priv_mmap (RzBuffer *b) |
static bool | buf_mmap_init (RzBuffer *b, const void *user) |
static bool | buf_mmap_fini (RzBuffer *b) |
static bool | buf_mmap_resize (RzBuffer *b, ut64 newsize) |
static ut8 * | buf_mmap_get_whole_buf (RzBuffer *b, ut64 *size) |
Variables | |
static const RzBufferMethods | buffer_mmap_methods |
Definition at line 45 of file buf_mmap.c.
References b, get_priv_mmap(), buf_mmap_priv::mmap, rz_file_mmap_free(), and RZ_FREE.
Definition at line 65 of file buf_mmap.c.
References b, rz_mmap_t::buf, get_priv_mmap(), rz_mmap_t::len, and buf_mmap_priv::mmap.
Definition at line 25 of file buf_mmap.c.
References b, rz_mmap_t::buf, buf_bytes_priv::buf, buf_mmap_priv::bytes_priv, rz_mmap_t::fd, buf_mmap_user::filename, free(), rz_mmap_t::len, buf_bytes_priv::length, buf_mmap_priv::mmap, buf_mmap_user::mode, buf_bytes_priv::offset, buf_mmap_user::perm, rz_file_mmap(), and RZ_NEW0.
Definition at line 52 of file buf_mmap.c.
References b, buf_bytes_priv::buf, buf_mmap_priv::bytes_priv, get_priv_mmap(), rz_mmap_t::len, buf_bytes_priv::length, buf_mmap_priv::mmap, and rz_file_mmap_resize().
|
inlinestatic |
Definition at line 19 of file buf_mmap.c.
References b, and rz_warn_if_fail.
Referenced by buf_mmap_fini(), buf_mmap_get_whole_buf(), and buf_mmap_resize().
|
static |
Definition at line 73 of file buf_mmap.c.
Referenced by new_buffer().