summaryrefslogtreecommitdiff
path: root/rust/src/binary_view.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/binary_view.rs')
-rw-r--r--rust/src/binary_view.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/rust/src/binary_view.rs b/rust/src/binary_view.rs
index 65bab463..1aa97891 100644
--- a/rust/src/binary_view.rs
+++ b/rust/src/binary_view.rs
@@ -26,7 +26,6 @@ use binaryninjacore_sys::*;
use crate::architecture::{Architecture, CoreArchitecture};
use crate::base_detection::BaseAddressDetection;
use crate::basic_block::BasicBlock;
-use crate::binary_view::memory_map::MemoryMap;
use crate::component::Component;
use crate::confidence::Conf;
use crate::data_buffer::DataBuffer;
@@ -66,6 +65,12 @@ use std::{result, slice};
// TODO : general reorg of modules related to bv
pub mod memory_map;
+pub mod reader;
+pub mod writer;
+
+pub use memory_map::MemoryMap;
+pub use reader::BinaryReader;
+pub use writer::BinaryWriter;
pub type Result<R> = result::Result<R, ()>;
pub type BinaryViewEventType = BNBinaryViewEventType;