52 switch (
state->mode) {
56 pj_kn(pj,
"size", oldsize);
RZ_API RzBinFile * rz_bin_cur(RzBin *bin)
RZ_API void rz_bin_set_baddr(RzBin *bin, ut64 baddr)
RZ_API bool rz_core_bin_apply_all_info(RzCore *r, RzBinFile *binfile)
RZ_API bool rz_core_file_resize(RzCore *core, ut64 newsize)
RZ_API bool rz_core_file_resize_delta(RzCore *core, st64 delta)
RZ_IPI RzCmdStatus rz_resize_insert_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_rebase_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_resize_remove_handler(RzCore *core, int argc, const char **argv)
static int rebase_helper(RzCore *core, ut64 oldbase, ut64 newbase)
RZ_IPI RzCmdStatus rz_resize_handler(RzCore *core, int argc, const char **argv, RzCmdStateOutput *state)
RZ_IPI RzCmdStatus rz_resize_human_handler(RzCore *core, int argc, const char **argv)
static RzCmdStatus resize_helper(RzCore *core, st64 delta)
RZ_API int rz_cons_printf(const char *format,...)
RZ_API void rz_cons_println(const char *str)
RZ_API bool rz_flag_move(RzFlag *f, ut64 at, ut64 to)
RZ_API void rz_debug_bp_rebase(RzDebug *dbg, ut64 old_base, ut64 new_base)
static static fork const void static count static fd const char const char static newpath char char argv
#define rz_warn_if_reached()
enum rz_cmd_status_t RzCmdStatus
@ RZ_CMD_STATUS_OK
command handler exited in the right way
@ RZ_CMD_STATUS_ERROR
command handler had issues while running (e.g. allocation error, etc.)
RZ_API ut64 rz_io_fd_size(RzIO *io, int fd)
#define RZ_LOG_ERROR(fmtstr,...)
RZ_API ut64 rz_num_math(RzNum *num, const char *str)
RZ_API char * rz_num_units(char *buf, size_t len, ut64 number)
RZ_API PJ * pj_end(PJ *j)
RZ_API PJ * pj_kn(PJ *j, const char *k, ut64 n)
@ RZ_OUTPUT_MODE_STANDARD
Represent the output state of a command handler.
ut64(WINAPI *w32_GetEnabledXStateFeatures)()