Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
|
static |
Definition at line 15 of file yank.c.
References addr, rz_core_t::config, eprintf, fd, rz_core_file_t::fd, rz_io_desc_t::fd, rz_core_t::file, free(), rz_core_t::io, len, malloc(), map(), NULL, PFMT64x, rz_config_get_i(), rz_core_block_read(), rz_core_yank_set(), rz_io_desc_close(), rz_io_map_new(), rz_io_map_next_available(), rz_io_open_nomap(), rz_io_read_at(), rz_io_seek(), RZ_IO_SEEK_SET, rz_io_size(), rz_io_use_fd(), RZ_PERM_R, RZ_STR_ISNOTEMPTY, rz_core_t::switch_file_view, and ut64().
Referenced by rz_core_yank_file(), and rz_core_yank_file_all().
Definition at line 118 of file yank.c.
References addr, rz_core_t::blocksize, free(), rz_core_t::io, len, malloc(), rz_core_t::offset, rz_core_seek(), rz_core_yank_set(), rz_io_read_at(), and ut64().
Referenced by rz_core_visual_cmd(), rz_core_yank_to(), and rz_yank_handler().
Definition at line 203 of file yank.c.
References i, NULL, pos, rz_buf_read8_at(), rz_buf_size(), rz_strbuf_appendf(), rz_strbuf_drain(), rz_strbuf_free(), rz_strbuf_new(), autogen_x86imm::tmp, and rz_core_t::yank_buf.
Referenced by rz_core_yank_dump(), and rz_yank_editor_handler().
RZ_API bool rz_core_yank_dump | ( | RzCore * | core, |
ut64 | pos, | ||
RzCmdStateOutput * | state | ||
) |
Definition at line 219 of file yank.c.
References free(), PFMT64d, PFMT64x, pj_end(), pj_kn(), pj_ks(), pj_o(), pos, rz_buf_size(), rz_cons_newline(), rz_cons_printf(), rz_cons_println(), rz_core_yank_as_string(), RZ_LOG_ERROR, RZ_OUTPUT_MODE_JSON, RZ_OUTPUT_MODE_QUIET, RZ_OUTPUT_MODE_RIZIN, RZ_OUTPUT_MODE_STANDARD, rz_warn_if_reached, cmd_descs_generate::str, rz_core_t::yank_addr, and rz_core_t::yank_buf.
Referenced by rz_yank_handler().
Definition at line 384 of file yank.c.
References addr, len, perform_mapped_file_yank(), and RZ_STR_ISEMPTY.
Referenced by rz_yank_file_handler().
Definition at line 398 of file yank.c.
References perform_mapped_file_yank(), and RZ_STR_ISEMPTY.
Referenced by rz_yank_whole_file_handler().
Definition at line 362 of file yank.c.
References free(), len, rz_core_t::offset, out, rz_core_yank_set(), rz_hex_str2bin(), RZ_STR_ISEMPTY, cmd_descs_generate::str, and strdup().
Referenced by rz_core_visual_view_rop(), rz_yank_editor_handler(), and rz_yank_hexpairs_handler().
Definition at line 333 of file yank.c.
References free(), input(), rz_cons_hud_file(), rz_core_yank_set_str(), and RZ_STR_ISEMPTY.
Referenced by rz_cmd_help().
Definition at line 346 of file yank.c.
References free(), input(), rz_cons_hud_path(), rz_core_yank_set_str(), and RZ_STR_ISEMPTY.
Referenced by rz_cmd_help().
Definition at line 174 of file yank.c.
References addr, free(), len, rz_buf_read_at(), rz_buf_size(), rz_core_write_at(), RZ_NEWS, and rz_core_t::yank_buf.
Referenced by __paste_cb(), rz_core_visual_cmd(), rz_core_yank_to(), and rz_yank_paste_handler().
Definition at line 288 of file yank.c.
References pos, rz_buf_read_at(), rz_buf_size(), rz_cons_memcat(), rz_cons_newline(), RZ_LOG_ERROR, RZ_NEWS, ut64(), and rz_core_t::yank_buf.
Referenced by rz_yank_print_handler().
Definition at line 267 of file yank.c.
References pos, rz_buf_read_at(), rz_buf_size(), rz_core_print_hexdump(), RZ_LOG_ERROR, RZ_NEWS, and rz_core_t::yank_buf.
Referenced by rz_yank_hex_print_handler().
Definition at line 311 of file yank.c.
References len, pos, rz_buf_read_at(), rz_buf_size(), rz_cons_memcat(), rz_cons_newline(), RZ_LOG_ERROR, RZ_NEWS, rz_str_nlen(), and rz_core_t::yank_buf.
Referenced by rz_yank_string_print_handler().
Definition at line 82 of file yank.c.
References addr, len, rz_buf_set_bytes(), rz_return_val_if_fail, rz_core_t::yank_addr, and rz_core_t::yank_buf.
Referenced by perform_mapped_file_yank(), rz_core_yank(), rz_core_yank_hexpair(), rz_core_yank_set_str(), and rz_core_yank_string().
Definition at line 101 of file yank.c.
References addr, len, rz_buf_write_at(), rz_core_yank_set(), rz_return_val_if_fail, cmd_descs_generate::str, and rz_core_t::yank_buf.
Referenced by rz_cmd_help(), rz_core_yank_hud_file(), and rz_core_yank_hud_path().
Definition at line 147 of file yank.c.
References addr, rz_core_t::blocksize, calloc(), free(), rz_core_t::io, maxlen, rz_core_t::offset, rz_core_seek(), rz_core_yank_set(), rz_io_read_at(), rz_str_nlen(), and ut64().
Referenced by rz_yank_string_handler().
Definition at line 193 of file yank.c.
References addr, len, rz_core_t::offset, rz_core_yank(), and rz_core_yank_paste().
Referenced by rz_yank_to_handler().