Struct binaryninja::section::Section
source · pub struct Section { /* private fields */ }
Implementations§
source§impl Section
impl Section
sourcepub fn builder<S: BnStrCompatible>(
name: S,
range: Range<u64>
) -> SectionBuilder<S>
pub fn builder<S: BnStrCompatible>( name: S, range: Range<u64> ) -> SectionBuilder<S>
You need to create a section builder, customize that section, then add it to a binary view:
let bv = binaryninja::load("example").unwrap();
bv.add_section(Section::builder("example", 0..1024).align(4).entry_size(4))
pub fn name(&self) -> BnString
pub fn section_type(&self) -> BnString
pub fn start(&self) -> u64
pub fn end(&self) -> u64
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn address_range(&self) -> Range<u64>
pub fn semantics(&self) -> Semantics
pub fn linked_section(&self) -> BnString
pub fn info_section(&self) -> BnString
pub fn info_data(&self) -> u64
pub fn align(&self) -> u64
pub fn entry_size(&self) -> usize
pub fn auto_defined(&self) -> bool
Trait Implementations§
source§impl CoreArrayProvider for Section
impl CoreArrayProvider for Section
source§impl PartialEq for Section
impl PartialEq for Section
source§impl ToOwned for Section
impl ToOwned for Section
impl Eq for Section
impl StructuralPartialEq for Section
Auto Trait Implementations§
impl RefUnwindSafe for Section
impl !Send for Section
impl !Sync for Section
impl Unpin for Section
impl UnwindSafe for Section
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more