File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -407,7 +407,8 @@ pub fn relocatable_regions(view: &BinaryView) -> Vec<Range<u64>> {
407407 // at zero, masking non-relocatable instructions, since then we have started adjusting the
408408 // image base to 0x10000 or higher so we can use segments directly, which improves the accuracy
409409 // of function GUIDs for binaries which have no or bad section definitions, common of firmware.
410- let mut ranges = view. segments ( )
410+ let mut ranges = view
411+ . segments ( )
411412 . iter ( )
412413 . filter ( |s| s. address_range ( ) . start != 0 )
413414 . map ( |s| s. address_range ( ) )
@@ -417,7 +418,8 @@ pub fn relocatable_regions(view: &BinaryView) -> Vec<Range<u64>> {
417418 // Realistically only happens if the only defined segment was based at 0, in which case
418419 // we hope the user has set up correct sections. If not we are going to be masking off too many
419420 // or too little instructions.
420- ranges = view. sections ( )
421+ ranges = view
422+ . sections ( )
421423 . iter ( )
422424 . map ( |s| s. address_range ( ) )
423425 . collect :: < Vec < _ > > ( ) ;
You can’t perform that action at this time.
0 commit comments