Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_io.h>
Go to the source code of this file.
Definition at line 11 of file io_fd.c.
References fd, rz_io_desc_close(), and rz_io_desc_get().
Referenced by ds_free(), ds_init(), get_bin_info(), GetHeapGlobalsOffset(), rz_core_analysis_esil_init_mem(), rz_core_analysis_esil_init_mem_del(), rz_core_file_close_fd(), and rz_io_bind().
Definition at line 106 of file io_fd.c.
References desc, fd, rz_io_t::files, rz_io_desc_get(), rz_io_desc_get_base(), and rz_return_val_if_fail.
Returns the underlying buffer of the file descriptor.
[in] | io | The RzIO instance |
[in] | fd | The file descriptor |
[out] | size | Size of the buffer returned |
Definition at line 53 of file io_fd.c.
References fd, NULL, rz_io_desc_get(), rz_io_desc_get_buf(), and rz_return_val_if_fail.
Referenced by rz_io_bind().
Definition at line 135 of file io_fd.c.
References rz_io_t::desc, rz_io_desc_t::fd, and rz_return_val_if_fail.
Referenced by append_bound(), DEFINE_HANDLE_TS_FCN_AND_SYMBOL(), handle_tmp_desc(), prioritize_file(), rz_core_bin_set_arch_bits(), rz_core_cmd_foreach3(), rz_core_file_info_print(), rz_core_serve(), rz_io_bind(), rz_main_rizin(), rz_main_rz_bin(), rz_open_binary_add_handler(), rz_open_binary_file_handler(), rz_open_maps_all_fd_handler(), rz_open_maps_map_fd_handler(), rz_open_prioritize_next_handler(), rz_open_prioritize_next_rotate_handler(), and rz_open_prioritize_prev_handler().
Definition at line 161 of file io_fd.c.
References fd, rz_io_t::files, rz_id_storage_get_highest(), and rz_return_val_if_fail.
Referenced by rz_io_desc_get_highest().
Definition at line 170 of file io_fd.c.
References fd, rz_io_t::files, rz_id_storage_get_lowest(), and rz_return_val_if_fail.
Referenced by rz_io_desc_get_lowest(), and rz_open_prioritize_next_rotate_handler().
Definition at line 112 of file io_fd.c.
References desc, fd, rz_io_t::files, NULL, rz_io_desc_get(), and rz_return_val_if_fail.
Referenced by rz_io_bind().
Definition at line 143 of file io_fd.c.
References fd, rz_io_t::files, rz_id_storage_get_next(), and rz_return_val_if_fail.
Referenced by rz_io_desc_get_next(), rz_open_prioritize_next_handler(), and rz_open_prioritize_next_rotate_handler().
Definition at line 92 of file io_fd.c.
References desc, fd, rz_io_t::files, rz_io_desc_get(), and rz_io_desc_get_pid().
Referenced by cb_cfgdebug(), cmd_debug_pid(), core_file_do_load_for_debug(), rz_core_debug_attach(), and rz_core_file_reopen().
Definition at line 152 of file io_fd.c.
References fd, rz_io_t::files, rz_id_storage_get_prev(), and rz_return_val_if_fail.
Referenced by rz_io_desc_get_prev(), and rz_open_prioritize_prev_handler().
Definition at line 100 of file io_fd.c.
References desc, fd, rz_io_t::files, rz_io_desc_get(), rz_io_desc_get_tid(), and rz_return_val_if_fail.
Referenced by cb_cfgdebug(), cmd_debug_pid(), core_file_do_load_for_debug(), and rz_core_file_reopen().
Definition at line 62 of file io_fd.c.
References fd, rz_io_desc_get(), and rz_io_desc_is_blockdevice().
Definition at line 66 of file io_fd.c.
References fd, rz_io_desc_get(), and rz_io_desc_is_chardevice().
Definition at line 86 of file io_fd.c.
References desc, fd, rz_io_t::files, rz_io_desc_get(), rz_io_desc_is_dbg(), and rz_return_val_if_fail.
Referenced by rz_io_bind().
Definition at line 6 of file io_fd.c.
References desc, flags, and rz_io_desc_open().
Referenced by ds_init(), get_bin_info(), GetHeapGlobalsOffset(), rz_core_analysis_esil_init_mem(), and rz_io_bind().
Definition at line 16 of file io_fd.c.
References desc, fd, len, rz_io_desc_get(), rz_io_desc_read(), and rz_return_val_if_fail.
Referenced by rz_io_bind().
Definition at line 71 of file io_fd.c.
References addr, desc, fd, len, rz_io_desc_get(), and rz_io_desc_read_at().
Referenced by fd_read_at_wrap(), and rz_io_bind().
Definition at line 58 of file io_fd.c.
References fd, rz_io_desc_get(), and rz_io_desc_resize().
Referenced by rz_io_bind().
Definition at line 35 of file io_fd.c.
References addr, fd, rz_io_desc_get(), rz_io_desc_seek(), and ut64().
Referenced by rz_io_bind().
Definition at line 42 of file io_fd.c.
References fd, rz_io_desc_get(), and rz_io_desc_size().
Referenced by cmd_print_bars(), file_resize(), get_bin_info(), GetHeapGlobalsOffset(), isValidAddress(), num_callback(), resize_helper(), rz_core_get_boundaries_prot(), rz_core_serve(), rz_io_bind(), rz_io_resize(), rz_main_rizin(), rz_open_maps_map_handler(), rz_resize_handler(), rz_resize_human_handler(), rz_seek_end_handler(), and system_exec().
Definition at line 26 of file io_fd.c.
References desc, fd, len, rz_io_desc_get(), rz_io_desc_write(), and rz_return_val_if_fail.
Referenced by rz_io_bind().
Definition at line 80 of file io_fd.c.
References addr, desc, fd, len, rz_io_desc_get(), rz_io_desc_write_at(), and rz_return_val_if_fail.
Referenced by fd_write_at_wrap(), and rz_io_bind().
Definition at line 118 of file io_fd.c.
References desc, rz_io_t::desc, fd, rz_io_desc_t::fd, NULL, rz_io_desc_get(), and rz_return_val_if_fail.
Referenced by core_file_do_load_for_io_plugin(), DEFINE_HANDLE_TS_FCN_AND_SYMBOL(), handle_tmp_desc(), map_multi_dex(), perform_mapped_file_yank(), prioritize_file(), rz_core_analysis_search(), rz_core_bin_load(), rz_core_bin_raise(), rz_core_binfiles_delete(), rz_core_cmd_subst_i(), rz_core_file_bin_raise(), rz_core_file_open(), rz_core_file_reopen(), rz_core_file_set_by_fd(), rz_core_shift_block(), rz_io_bind(), rz_open_binary_file_handler(), rz_open_use_handler(), and rz_write_from_file_handler().