[−][src]Struct elf_utilities::section::Section64
Fields
name: Stringheader: Shdr64bytes: Vec<u8>Implementations
impl Section64[src]
pub fn write_byte_to_index(&mut self, byte: u8, idx: usize)[src]
pub fn to_le_bytes(&self) -> Vec<u8>[src]
create binary without header
pub fn new_null_section() -> Self[src]
Trait Implementations
impl Clone for Section64[src]
impl Eq for Section64[src]
impl Hash for Section64[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Ord for Section64[src]
fn cmp(&self, other: &Section64) -> Ordering[src]
#[must_use]fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<Section64> for Section64[src]
impl PartialOrd<Section64> for Section64[src]
fn partial_cmp(&self, other: &Section64) -> Option<Ordering>[src]
fn lt(&self, other: &Section64) -> bool[src]
fn le(&self, other: &Section64) -> bool[src]
fn gt(&self, other: &Section64) -> bool[src]
fn ge(&self, other: &Section64) -> bool[src]
impl Section for Section64[src]
type Header = Shdr64
type Symbol = Symbol64
type Dyn = Dyn64
type Rela = Rela64
fn new(header: Shdr64) -> Self[src]
fn name_idx(&self) -> usize[src]
fn clone_contents(&self) -> Vec<u8>[src]
fn update_name(&mut self, name: String)[src]
fn update_contents(&mut self, contents: Vec<u8>)[src]
fn header_deserialize(
buf: &[u8],
header_start: usize
) -> Result<Shdr64, Box<dyn Error>>[src]
buf: &[u8],
header_start: usize
) -> Result<Shdr64, Box<dyn Error>>
fn header_size() -> usize[src]
fn size_zero(&self) -> bool[src]
fn offset(&self) -> usize[src]
fn section_type(&self) -> Type[src]
fn entry_size(&self) -> usize[src]
fn section_size(&self) -> usize[src]
fn parse_bytes_as_symbols(
&self,
related_string_table: &Section64
) -> Vec<Self::Symbol>[src]
&self,
related_string_table: &Section64
) -> Vec<Self::Symbol>
fn parse_bytes_as_dynamics(&self) -> Vec<Self::Dyn>[src]
fn parse_bytes_as_relas(&self) -> Vec<Self::Rela>[src]
impl StructuralEq for Section64[src]
impl StructuralPartialEq for Section64[src]
Auto Trait Implementations
impl RefUnwindSafe for Section64
impl Send for Section64
impl Sync for Section64
impl Unpin for Section64
impl UnwindSafe for Section64
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,