Struct binaryninja::segment::Segment
[−]pub struct Segment { /* private fields */ }
Implementations
impl Segment
impl Segment
pub fn builder(ea_range: Range<u64>) -> SegmentBuilder
pub fn builder(ea_range: Range<u64>) -> SegmentBuilder
You need to create a segment builder, customize that segment, then add it to a binary view:
bv.add_segment(Segment::new().align(4).entry_size(4))
pub fn address_range(&self) -> Range<u64>
pub fn parent_backing(&self) -> Option<Range<u64>>
pub fn executable(&self) -> bool
pub fn writable(&self) -> bool
pub fn readable(&self) -> bool
pub fn contains_data(&self) -> bool
pub fn contains_code(&self) -> bool
pub fn deny_write(&self) -> bool
pub fn deny_execute(&self) -> bool
pub fn auto_defined(&self) -> bool
Trait Implementations
impl<'a> CoreArrayWrapper<'a> for Segment
impl<'a> CoreArrayWrapper<'a> for Segment
impl CoreOwnedArrayProvider for Segment
impl CoreOwnedArrayProvider for Segment
impl RefCountable for Segment
impl RefCountable for Segment
impl ToOwned for Segment
impl ToOwned for Segment
impl Eq for Segment
impl StructuralEq for Segment
impl StructuralPartialEq for Segment
Auto Trait Implementations
impl RefUnwindSafe for Segment
impl !Send for Segment
impl !Sync for Segment
impl Unpin for Segment
impl UnwindSafe for Segment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more