mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 12:12:06 +00:00
Fixes for @jvoisin and @jody-frankowski
This commit is contained in:
parent
8efc5d64c6
commit
a27a6801eb
@ -1057,7 +1057,7 @@ static int cmd_debug(void *data, const char *input) {
|
||||
"dd", " <file>", "Open and map that file into the UI",
|
||||
"dd-", "<fd>", "Close stdout fd",
|
||||
"dd*", "", "List file descriptors (in radare commands)",
|
||||
NLL
|
||||
NULL
|
||||
};
|
||||
r_core_cmd_help (core, help_message);
|
||||
}
|
||||
@ -1205,7 +1205,7 @@ static int cmd_debug(void *data, const char *input) {
|
||||
"dco", " <num>", "Step over <num> instructions",
|
||||
"dcp", "", "Continue until program code (mapped io section)",
|
||||
"dcr", "", "Continue until ret (uses step over)",
|
||||
"dcs", " <num>"¸ "Continue until syscall",
|
||||
"dcs", " <num>", "Continue until syscall",
|
||||
"dct", " <len>", "Traptrace from curseek to len, no argument to list",
|
||||
"dcu", " [addr]", "Continue until address",
|
||||
"dcu", " <address> [end]", "Continue until given address range",
|
||||
|
@ -383,9 +383,8 @@ static int cmd_write(void *data, const char *input) {
|
||||
} else
|
||||
if (*str != ' ') {
|
||||
char _fn[32];
|
||||
char* prefix = r_config_get (core->config, "cfg.prefixdump");
|
||||
const char* prefix = r_config_get (core->config, "cfg.prefixdump");
|
||||
snprintf(_fn, sizeof(_fn), "%s.0x%08"PFMT64x, prefix, core->offset);
|
||||
free (prefix);
|
||||
filename = _fn;
|
||||
} else filename = str+1;
|
||||
tmp = strchr (str+1, ' ');
|
||||
|
Loading…
x
Reference in New Issue
Block a user