summaryrefslogtreecommitdiff
path: root/plugins/svd
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-07-13 17:34:02 -0400
committerMason Reed <mason@vector35.com>2025-07-15 12:34:43 -0400
commitbd1b6b8a1a75df296da5c7afa8107ba301c9cd8e (patch)
treeb0155db15147c9d91da10519ee72eb87560ba2d4 /plugins/svd
parentfa3c81fd9b4287792c3e3d534a7d237d6005cb5f (diff)
[Rust] Add `BinaryView::search` and friends
Diffstat (limited to 'plugins/svd')
-rw-r--r--plugins/svd/src/mapper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/svd/src/mapper.rs b/plugins/svd/src/mapper.rs
index 314fba76..8846c858 100644
--- a/plugins/svd/src/mapper.rs
+++ b/plugins/svd/src/mapper.rs
@@ -167,7 +167,7 @@ impl DeviceMapper {
if self.settings.add_backing_regions {
// Because adding a memory region will add a possibly large memory buffer in the BNDB, this
// is optional. if a user disables this, they cannot write to the segment until they add a backing memory region.
- let data_memory = DataBuffer::new(&vec![0; address_block.size as usize]).unwrap();
+ let data_memory = DataBuffer::new(&vec![0; address_block.size as usize]);
let added_memory = view.memory_map().add_data_memory_region(
&block_name,
block_addr,