Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | rz_io_mmo_t |
Typedefs | |
typedef struct rz_io_mmo_t | RzIOMMapFileObj |
Variables | |
RzIOPlugin | rz_io_plugin_default |
RZ_API RzLibStruct | rizin_plugin |
typedef struct rz_io_mmo_t RzIOMMapFileObj |
Definition at line 165 of file io_default.c.
References fd, and rz_io_def_mmap_lseek().
Definition at line 150 of file io_default.c.
References NULL, rz_io_def_mmap_check_default(), and rz_io_def_mmap_open().
Definition at line 145 of file io_default.c.
References rz_io_def_mmap_check_default().
Definition at line 157 of file io_default.c.
References fd, len, and rz_io_def_mmap_read().
Definition at line 173 of file io_default.c.
References fd, rz_io_mmo_t::perm, rz_io_def_mmap_truncate(), RZ_PERM_W, and rz_return_val_if_fail.
Definition at line 161 of file io_default.c.
References fd, len, and rz_io_def_mmap_write().
|
static |
Definition at line 50 of file io_default.c.
References F_GETFL, F_SETFL, fcntl, fd, and O_DIRECT.
Referenced by rz_io_def_mmap_create_new_file().
Definition at line 194 of file io_default.c.
References rz_io_mmo_t::buf, desc, NULL, rz_buf_data(), and rz_return_val_if_fail.
Definition at line 18 of file io_default.c.
References RZ_BUF_CUR, RZ_BUF_END, RZ_BUF_SET, RZ_IO_SEEK_CUR, RZ_IO_SEEK_END, RZ_IO_SEEK_SET, and rz_warn_if_reached.
Referenced by rz_io_def_mmap_seek().
Definition at line 98 of file io_default.c.
References NULL, rz_return_val_if_fail, and rz_str_startswith().
Referenced by __open_default(), and __plugin_open_default().
Definition at line 91 of file io_default.c.
References fd, NULL, rz_io_def_mmap_free(), and rz_return_val_if_fail.
Referenced by __close().
RzIOMMapFileObj* rz_io_def_mmap_create_new_file | ( | RzIO * | io, |
const char * | filename, | ||
int | perm, | ||
int | mode | ||
) |
Definition at line 59 of file io_default.c.
References rz_io_mmo_t::buf, disable_fd_cache(), rz_buf_t::fd, rz_io_mmo_t::filename, rz_io_mmo_t::mode, rz_io_mmo_t::nocache, NULL, rz_io_mmo_t::perm, rz_buf_new_file(), rz_buf_new_mmap(), rz_io_def_mmap_free(), RZ_NEW0, rz_return_val_if_fail, rz_str_startswith(), rz_sys_open_perms(), and strdup().
Referenced by rz_io_def_mmap_open().
|
static |
Definition at line 41 of file io_default.c.
References rz_io_mmo_t::buf, rz_io_mmo_t::filename, free(), and rz_buf_free().
Referenced by rz_io_def_mmap_close(), and rz_io_def_mmap_create_new_file().
Definition at line 136 of file io_default.c.
References fd, rz_io_def_mmap_seek(), rz_return_val_if_fail, and UT64_MAX.
Referenced by __lseek().
Definition at line 123 of file io_default.c.
References d, rz_io_mmo_t::filename, NULL, rz_io_def_mmap_create_new_file(), rz_io_desc_new(), rz_io_plugin_default, rz_return_val_if_fail, and strdup().
Referenced by __open_default().
Definition at line 109 of file io_default.c.
References rz_io_mmo_t::buf, count, fd, rz_buf_read(), and rz_return_val_if_fail.
Referenced by __read().
|
static |
Definition at line 32 of file io_default.c.
References rz_io_mmo_t::buf, iowhence2buf(), rz_io_t::off, rz_buf_seek(), rz_return_val_if_fail, and UT64_MAX.
Referenced by rz_io_def_mmap_lseek().
|
static |
Definition at line 141 of file io_default.c.
References rz_io_mmo_t::buf, and rz_buf_resize().
Referenced by __resize().
Definition at line 116 of file io_default.c.
References rz_io_mmo_t::buf, count, fd, rz_buf_write(), and rz_return_val_if_fail.
Referenced by __write().
RZ_API RzLibStruct rizin_plugin |
Definition at line 219 of file io_default.c.
RzIOPlugin rz_io_plugin_default |
Definition at line 200 of file io_default.c.
Referenced by rz_io_def_mmap_open().