Skip to content

Commit

Permalink
Remove ae* command.
Browse files Browse the repository at this point in the history
It was marked as not working and had no direct advantage.
With the transition to RzIL it becomes obsolete.
  • Loading branch information
Rot127 committed Nov 23, 2024
1 parent 3556a7e commit b80d56e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
9 changes: 0 additions & 9 deletions librz/core/cmd/cmd_analysis.c
Original file line number Diff line number Diff line change
Expand Up @@ -1467,15 +1467,6 @@ static void cmd_analysis_esil(RzCore *core, const char *input) {
break;
}
break;
case '*': // "ae*"
// XXX: this is wip, not working atm
if (core->analysis->esil) {
rz_cons_printf("trap: %d\n", core->analysis->esil->trap);
rz_cons_printf("trap-code: %d\n", core->analysis->esil->trap_code);
} else {
RZ_LOG_ERROR("core: esil vm not initialized. run `aei`\n");
}
break;
case ' ': // "ae "
// rz_analysis_esil_eval (core->analysis, input+1);
if (!esil && !(core->analysis->esil = esil = rz_analysis_esil_new(stacksize, iotrap, addrsize))) {
Expand Down
6 changes: 0 additions & 6 deletions test/db/esil/math
Original file line number Diff line number Diff line change
Expand Up @@ -74,25 +74,19 @@ NAME=div by zero 3 / 0
FILE==
CMDS=<<EOF
ae 0,3,/
ae*
EOF
EXPECT=<<EOF
ESIL TRAP type 3 code 0x00000000 divbyzero
trap: 3
trap-code: 0
EOF
RUN

NAME=div 0 / 3
FILE==
CMDS=<<EOF
ae 3,0,/
ae*
EOF
EXPECT=<<EOF
0x0
trap: 0
trap-code: 0
EOF
RUN

Expand Down

0 comments on commit b80d56e

Please sign in to comment.