[][src]Struct elf_utilities::section::Section64

pub struct Section64 {
    pub name: String,
    pub header: Shdr64,
    pub bytes: Option<Vec<u8>>,
    pub symbols: Option<Vec<Symbol64>>,
    pub rela_symbols: Option<Vec<Rela64>>,
    pub dynamics: Option<Vec<Dyn64>>,
}

Fields

name: Stringheader: Shdr64bytes: Option<Vec<u8>>

for normal section

symbols: Option<Vec<Symbol64>>

for symbol table

rela_symbols: Option<Vec<Rela64>>

for rela symbol table

dynamics: Option<Vec<Dyn64>>

for .dynamic

Implementations

impl Section64[src]

pub fn new(section_name: String, shdr: Shdr64) -> Self[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<'de> Deserialize<'de> for Section64[src]

impl Eq for Section64[src]

impl Hash for Section64[src]

impl Ord for Section64[src]

impl PartialEq<Section64> for Section64[src]

impl PartialOrd<Section64> for Section64[src]

impl Serialize for Section64[src]

impl StructuralEq for Section64[src]

impl StructuralPartialEq for Section64[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.