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 { ... }
}

Required Methods§

Provided Methods§

source

fn read(&self, _buf: &mut [u8], _offset: u64) -> usize

source

fn write(&self, _offset: u64, _data: &[u8]) -> usize

source

fn insert(&self, _offset: u64, _data: &[u8]) -> usize

source

fn remove(&self, _offset: u64, _len: usize) -> usize

source

fn offset_valid(&self, offset: u64) -> bool

source

fn offset_readable(&self, offset: u64) -> bool

source

fn offset_writable(&self, offset: u64) -> bool

source

fn offset_executable(&self, offset: u64) -> bool

source

fn offset_backed_by_file(&self, offset: u64) -> bool

source

fn next_valid_offset_after(&self, offset: u64) -> u64

source

fn modification_status(&self, offset: u64) -> ModificationStatus

source

fn start(&self) -> u64

source

fn len(&self) -> usize

source

fn executable(&self) -> bool

source

fn relocatable(&self) -> bool

source

fn save(&self) -> bool

Implementors§