Struct binaryninja::section::Section
[−]pub struct Section { /* private fields */ }
Implementations
impl Section
impl Section
pub 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:
bv.add_section(Section::new().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
impl<'a> CoreArrayWrapper<'a> for Section
impl<'a> CoreArrayWrapper<'a> for Section
impl CoreOwnedArrayProvider for Section
impl CoreOwnedArrayProvider for Section
impl RefCountable for Section
impl RefCountable for Section
impl ToOwned for Section
impl ToOwned for Section
impl Eq for Section
impl StructuralEq 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
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