File tree 2 files changed +3424
-2548
lines changed
2 files changed +3424
-2548
lines changed Original file line number Diff line number Diff line change @@ -567,7 +567,7 @@ r2.filter_asm = function(x, display) {
567
567
r2 . cmd ( 's' , function ( x ) {
568
568
curoff = x ;
569
569
} ) ;
570
- for ( let i = lines . length - 1 ; i > 0 ; i -- ) {
570
+ for ( var i = lines . length - 1 ; i > 0 ; i -- ) {
571
571
var a = lines [ i ] . match ( / 0 x ( [ a - f A - F 0 - 9 ] + ) / ) ;
572
572
if ( a && a . length > 0 ) {
573
573
lastoff = a [ 0 ] . replace ( / : / g, '' ) ;
@@ -576,9 +576,9 @@ r2.filter_asm = function(x, display) {
576
576
}
577
577
if ( display == 'afl' ) {
578
578
// hasmore (false);
579
- let z = '' ;
580
- for ( let i = 0 ; i < lines . length ; i ++ ) {
581
- const row = lines [ i ] . replace ( / \ + / g, ' ' ) . split ( / / g) ;
579
+ var z = '' ;
580
+ for ( var i = 0 ; i < lines . length ; i ++ ) {
581
+ var row = lines [ i ] . replace ( / \ + / g, ' ' ) . split ( / / g) ;
582
582
z += row [ 0 ] + ' ' + row [ 3 ] + '\n' ;
583
583
}
584
584
x = z ;
@@ -608,7 +608,7 @@ r2.filter_asm = function(x, display) {
608
608
var name = '' ;
609
609
var addr = '' ;
610
610
for ( var j = 0 ; j < elems . length ; j ++ ) {
611
- const kv = elems [ j ] . split ( / = / ) ;
611
+ var kv = elems [ j ] . split ( / = / ) ;
612
612
if ( kv . length !== 2 ) {
613
613
continue ;
614
614
}
You can’t perform that action at this time.
0 commit comments