mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 16:18:33 +00:00
Add 'aba' command as an alias for aeab ##anal
This commit is contained in:
parent
00bf84610d
commit
5ed92be0c0
@ -89,6 +89,7 @@ static const char *help_msg_aar[] = {
|
||||
static const char *help_msg_ab[] = {
|
||||
"Usage:", "ab", "",
|
||||
"ab", " [addr]", "show basic block information at given address",
|
||||
"aba", " [addr]", "analyze esil accesses in basic block (see aea?)",
|
||||
"abb", " [length]", "analyze N bytes and extract basic blocks",
|
||||
"abj", " [addr]", "display basic block information in JSON (alias to afbj)",
|
||||
"abx", " [hexpair-bytes]", "analyze N bytes",
|
||||
@ -9782,7 +9783,9 @@ static int cmd_anal(void *data, const char *input) {
|
||||
}
|
||||
break;
|
||||
case 'b': // "ab"
|
||||
if (input[1] == 'b') { // "abb"
|
||||
if (input[1] == 'a') { // "aba"
|
||||
r_core_cmdf (core, "aeab%s", input + 1);
|
||||
} else if (input[1] == 'b') { // "abb"
|
||||
core_anal_bbs (core, input + 2);
|
||||
} else if (input[1] == 'r') { // "abr"
|
||||
core_anal_bbs_range (core, input + 2);
|
||||
|
Loading…
Reference in New Issue
Block a user