Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
static int | rebase_helper (RzCore *core, ut64 oldbase, ut64 newbase) |
RZ_IPI RzCmdStatus | rz_rebase_handler (RzCore *core, int argc, const char **argv) |
static RzCmdStatus | resize_helper (RzCore *core, st64 delta) |
RZ_IPI RzCmdStatus | rz_resize_handler (RzCore *core, int argc, const char **argv, RzCmdStateOutput *state) |
RZ_IPI RzCmdStatus | rz_resize_remove_handler (RzCore *core, int argc, const char **argv) |
RZ_IPI RzCmdStatus | rz_resize_insert_handler (RzCore *core, int argc, const char **argv) |
RZ_IPI RzCmdStatus | rz_resize_human_handler (RzCore *core, int argc, const char **argv) |
Definition at line 7 of file cmd_resize.c.
References rz_core_t::bin, rz_core_t::dbg, rz_core_t::flags, rz_bin_cur(), rz_bin_set_baddr(), rz_core_bin_apply_all_info(), rz_debug_bp_rebase(), and rz_flag_move().
Referenced by rz_rebase_handler().
|
static |
Definition at line 24 of file cmd_resize.c.
References delta, rz_core_file_t::fd, rz_core_t::file, rz_core_t::io, RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_core_file_resize_delta(), rz_io_fd_size(), and ut64().
Referenced by rz_resize_insert_handler(), and rz_resize_remove_handler().
RZ_IPI RzCmdStatus rz_rebase_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 17 of file cmd_resize.c.
References argv, rz_core_t::num, rz_core_t::offset, rebase_helper(), rz_num_math(), and ut64().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_resize_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv, | ||
RzCmdStateOutput * | state | ||
) |
Definition at line 36 of file cmd_resize.c.
References argv, rz_core_file_t::fd, rz_core_t::file, rz_core_t::io, rz_core_t::num, PFMT64d, pj_end(), pj_kn(), pj_o(), RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_cons_printf(), rz_core_file_resize(), rz_io_fd_size(), RZ_LOG_ERROR, rz_num_math(), RZ_OUTPUT_MODE_JSON, RZ_OUTPUT_MODE_STANDARD, rz_warn_if_reached, and ut64().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_resize_human_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 81 of file cmd_resize.c.
References rz_core_file_t::fd, rz_core_t::file, rz_core_t::io, RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_cons_println(), rz_io_fd_size(), rz_num_units(), and ut64().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_resize_insert_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 76 of file cmd_resize.c.
References argv, delta, rz_core_t::num, resize_helper(), rz_num_math(), and st64.
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_resize_remove_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 71 of file cmd_resize.c.
References argv, delta, rz_core_t::num, resize_helper(), rz_num_math(), and st64.
Referenced by rzshell_cmddescs_init().