Update some af+ entries

This commit is contained in:
pancake 2017-02-10 00:36:03 +01:00
parent a6a4144a87
commit 7d0aa11196
2 changed files with 4 additions and 4 deletions

View File

@ -1990,8 +1990,8 @@ static int fcn_list_json(RCore *core, RList *fcns, bool quiet) {
static int fcn_print_detail(RCore *core, RAnalFunction *fcn) {
char *name = get_fcn_name (core, fcn);
r_cons_printf ("f %s %d 0x%08"PFMT64x"\n", name, r_anal_fcn_size (fcn), fcn->addr);
r_cons_printf ("af+ 0x%08"PFMT64x" %d %s %c %c\n",
fcn->addr, r_anal_fcn_size (fcn), name,
r_cons_printf ("af+ 0x%08"PFMT64x" %s %c %c\n",
fcn->addr, name, //r_anal_fcn_size (fcn), name,
fcn->type == R_ANAL_FCN_TYPE_LOC?'l':
fcn->type == R_ANAL_FCN_TYPE_SYM?'s':
fcn->type == R_ANAL_FCN_TYPE_IMP?'i':'f',

View File

@ -313,9 +313,9 @@ static int analyzeFunction(RCore *core, ut64 addr) {
} else {
function_label = r_str_newf ("fcn2.%08"PFMT64x, addr);
}
r_core_cmdf (core, "af+ 0x%08"PFMT64x" %d %s\n",
r_core_cmdf (core, "af+ 0x%08"PFMT64x" %s\n",
sdb_num_get (db, "addr", NULL),
(int)sdb_num_get (db, "size", NULL),
// (int)sdb_num_get (db, "size", NULL),
function_label);
// list bbs
{