Fix #904 - s/???/invalid/g

This commit is contained in:
pancake 2014-05-09 10:47:11 +02:00
parent 9bab36a728
commit 1eb08738ba
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* radare2 - LGPL - Copyright 2013 - pancake */
/* radare2 - LGPL - Copyright 2013-2014 - pancake */
#include <stdio.h>
#include <stdarg.h>

View File

@ -401,7 +401,7 @@ static int pdi(RCore *core, int l, int len, int ilen) {
if (ret<1) ret = 1;
if (show_bytes)
r_cons_printf ("%14s%02x ", "", buf[i]);
r_cons_printf ("%s\n", "???");
r_cons_printf ("%s\n", "invalid"); //???");
} else {
if (show_bytes)
r_cons_printf ("%16s ", asmop.buf_hex);

View File

@ -1800,7 +1800,7 @@ R_API int r_core_print_disasm_instructions (RCore *core, int len, int l) {
if (ret<1) {
err = 1;
ret = 1;
r_cons_printf ("???\n");
r_cons_printf ("invalid\n");//???\n");
} else {
r_cons_printf ("%s\n", ds->opstr);
free (ds->opstr);