mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-09 06:50:49 +00:00
Use standard help api for aeim
too ##shell
This commit is contained in:
parent
296d094f36
commit
b023f737bb
@ -640,7 +640,7 @@ static const char *help_msg_aft[] = {
|
||||
};
|
||||
|
||||
static const char *help_msg_afv[] = {
|
||||
"Usage:", "afv","[rbs]",
|
||||
"Usage:", "afv[rbs]"," Function variables manipulation",
|
||||
"afv*", "", "output r2 command to add args/locals to flagspace",
|
||||
"afv-", "([name])", "remove all or given var",
|
||||
"afv=", "", "list function variables and arguments with disasm refs",
|
||||
@ -658,6 +658,14 @@ static const char *help_msg_afv[] = {
|
||||
NULL
|
||||
};
|
||||
|
||||
static const char *help_msg_aeim[] = {
|
||||
"Usage:", "aeim", " [addr] [size] [name] - initialize the ESIL VM stack",
|
||||
"aeim", "", "initialize esil memory with default values from esil.stack.* evals",
|
||||
"aeim", " 0x10000", "same as aeim@e:esil.stack.addr=0x10000",
|
||||
"aeim", " 0x10000 2M mystack", "give a name to that new 2MB stack",
|
||||
NULL
|
||||
};
|
||||
|
||||
static const char *help_msg_afvb[] = {
|
||||
"Usage:", "afvb", " [idx] [name] ([type])",
|
||||
"afvb", "", "list base pointer based arguments, locals",
|
||||
@ -5942,9 +5950,7 @@ static void cmd_esil_mem(RCore *core, const char *input) {
|
||||
}
|
||||
}
|
||||
if (*input == '?') {
|
||||
eprintf ("Usage: aeim [addr] [size] [name] - initialize ESIL VM stack\n");
|
||||
eprintf ("Default: 0x100000 0xf0000\n");
|
||||
eprintf ("See ae? for more help\n");
|
||||
r_core_cmd_help (core, help_msg_aeim);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user