From df0d8aaeeed4be4d3aa9c8545088646e6c95e2ef Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 20 Jul 2025 23:43:00 -0400 Subject: [WARP] Misc formatting fixes --- plugins/warp/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/warp/src/lib.rs b/plugins/warp/src/lib.rs index fd935702..be6f8bc3 100644 --- a/plugins/warp/src/lib.rs +++ b/plugins/warp/src/lib.rs @@ -407,7 +407,8 @@ pub fn relocatable_regions(view: &BinaryView) -> Vec> { // at zero, masking non-relocatable instructions, since then we have started adjusting the // image base to 0x10000 or higher so we can use segments directly, which improves the accuracy // of function GUIDs for binaries which have no or bad section definitions, common of firmware. - let mut ranges = view.segments() + let mut ranges = view + .segments() .iter() .filter(|s| s.address_range().start != 0) .map(|s| s.address_range()) @@ -417,7 +418,8 @@ pub fn relocatable_regions(view: &BinaryView) -> Vec> { // Realistically only happens if the only defined segment was based at 0, in which case // we hope the user has set up correct sections. If not we are going to be masking off too many // or too little instructions. - ranges = view.sections() + ranges = view + .sections() .iter() .map(|s| s.address_range()) .collect::>(); -- cgit v1.3.1