diff options
| author | Mason Reed <mason@vector35.com> | 2025-07-20 23:43:00 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-07-21 12:14:45 -0400 |
| commit | df0d8aaeeed4be4d3aa9c8545088646e6c95e2ef (patch) | |
| tree | edc6a68ecb7ede7174a775753ab0c9fb9ccf5193 /plugins | |
| parent | 1c073c1d5e9990f8702a0ce86ad65607857bc895 (diff) | |
[WARP] Misc formatting fixes
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/warp/src/lib.rs | 6 |
1 files changed, 4 insertions, 2 deletions
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<Range<u64>> { // 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<Range<u64>> { // 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::<Vec<_>>(); |
