Add 'aba' command as an alias for aeab ##anal

This commit is contained in:
pancake 2020-02-11 00:02:00 +01:00 committed by radare
parent 00bf84610d
commit 5ed92be0c0

View File

@ -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);