pub trait BinaryViewBase: AsRef<BinaryView> {
Show 19 methods
// Required methods
fn entry_point(&self) -> u64;
fn default_endianness(&self) -> Endianness;
fn address_size(&self) -> usize;
// Provided methods
fn read(&self, _buf: &mut [u8], _offset: u64) -> usize { ... }
fn write(&self, _offset: u64, _data: &[u8]) -> usize { ... }
fn insert(&self, _offset: u64, _data: &[u8]) -> usize { ... }
fn remove(&self, _offset: u64, _len: usize) -> usize { ... }
fn offset_valid(&self, offset: u64) -> bool { ... }
fn offset_readable(&self, offset: u64) -> bool { ... }
fn offset_writable(&self, offset: u64) -> bool { ... }
fn offset_executable(&self, offset: u64) -> bool { ... }
fn offset_backed_by_file(&self, offset: u64) -> bool { ... }
fn next_valid_offset_after(&self, offset: u64) -> u64 { ... }
fn modification_status(&self, offset: u64) -> ModificationStatus { ... }
fn start(&self) -> u64 { ... }
fn len(&self) -> usize { ... }
fn executable(&self) -> bool { ... }
fn relocatable(&self) -> bool { ... }
fn save(&self) -> bool { ... }
}