mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-09 15:00:42 +00:00
Print call convention once in afi ##anal (#18157)
This commit is contained in:
parent
2879c582af
commit
73aab852fc
@ -3103,9 +3103,6 @@ static int fcn_print_legacy(RCore *core, RAnalFunction *fcn) {
|
||||
}
|
||||
r_cons_printf ("\ncyclomatic-cost: %d", r_anal_function_cost (fcn));
|
||||
r_cons_printf ("\ncyclomatic-complexity: %d", r_anal_function_complexity (fcn));
|
||||
if (!R_STR_ISEMPTY (fcn->cc)) {
|
||||
r_cons_printf ("\ncc: %s", fcn->cc);
|
||||
}
|
||||
r_cons_printf ("\nbits: %d", fcn->bits);
|
||||
r_cons_printf ("\ntype: %s", r_anal_fcntype_tostring (fcn->type));
|
||||
if (fcn->type == R_ANAL_FCN_TYPE_FCN || fcn->type == R_ANAL_FCN_TYPE_SYM) {
|
||||
|
@ -1502,7 +1502,7 @@ aaa
|
||||
afi @@@F~?pascal
|
||||
EOF
|
||||
EXPECT=<<EOF
|
||||
130
|
||||
65
|
||||
EOF
|
||||
RUN
|
||||
|
||||
@ -2536,7 +2536,6 @@ stackframe: 0
|
||||
call-convention: amd64
|
||||
cyclomatic-cost: 4
|
||||
cyclomatic-complexity: 0
|
||||
cc: amd64
|
||||
bits: 64
|
||||
type: fcn [NEW]
|
||||
num-bbs: 2
|
||||
@ -2596,7 +2595,6 @@ stackframe: 0
|
||||
call-convention: amd64
|
||||
cyclomatic-cost: 6
|
||||
cyclomatic-complexity: 1
|
||||
cc: amd64
|
||||
bits: 64
|
||||
type: fcn [NEW]
|
||||
num-bbs: 2
|
||||
@ -2672,7 +2670,6 @@ stackframe: 0
|
||||
call-convention: amd64
|
||||
cyclomatic-cost: 7
|
||||
cyclomatic-complexity: 0
|
||||
cc: amd64
|
||||
bits: 64
|
||||
type: fcn [NEW]
|
||||
num-bbs: 2
|
||||
@ -2756,7 +2753,6 @@ stackframe: 0
|
||||
call-convention: amd64
|
||||
cyclomatic-cost: 7
|
||||
cyclomatic-complexity: 0
|
||||
cc: amd64
|
||||
bits: 64
|
||||
type: fcn [NEW]
|
||||
num-bbs: 3
|
||||
@ -2849,7 +2845,6 @@ stackframe: 0
|
||||
call-convention: amd64
|
||||
cyclomatic-cost: 9
|
||||
cyclomatic-complexity: 0
|
||||
cc: amd64
|
||||
bits: 64
|
||||
type: fcn [NEW]
|
||||
num-bbs: 4
|
||||
|
@ -7,7 +7,7 @@ afi.
|
||||
afb.
|
||||
EOF
|
||||
EXPECT=<<EOF
|
||||
34
|
||||
33
|
||||
entry0
|
||||
0x1000011e8 0x100001211 00:0000 41 j 0x100001216 f 0x100001211
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user