diff options
| author | Mason Reed <mason@vector35.com> | 2025-07-13 17:34:02 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-07-15 12:34:43 -0400 |
| commit | bd1b6b8a1a75df296da5c7afa8107ba301c9cd8e (patch) | |
| tree | b0155db15147c9d91da10519ee72eb87560ba2d4 /plugins/svd | |
| parent | fa3c81fd9b4287792c3e3d534a7d237d6005cb5f (diff) | |
[Rust] Add `BinaryView::search` and friends
Diffstat (limited to 'plugins/svd')
| -rw-r--r-- | plugins/svd/src/mapper.rs | 2 |
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, |
