Struct ckb_vm::elf::SectionHeader
source · pub struct SectionHeader {
pub sh_name: usize,
pub sh_type: u32,
pub sh_flags: u64,
pub sh_addr: u64,
pub sh_offset: u64,
pub sh_size: u64,
pub sh_link: u32,
pub sh_info: u32,
pub sh_addralign: u64,
pub sh_entsize: u64,
}
Expand description
Same as goblin::elf::SectionHeader.
Fields§
§sh_name: usize
§sh_type: u32
§sh_flags: u64
§sh_addr: u64
§sh_offset: u64
§sh_size: u64
§sh_link: u32
§sh_info: u32
§sh_addralign: u64
§sh_entsize: u64
Implementations§
source§impl SectionHeader
impl SectionHeader
pub fn from_v0(header: &SectionHeader) -> Self
pub fn from_v1(header: &SectionHeader) -> Self
Auto Trait Implementations§
impl Freeze for SectionHeader
impl RefUnwindSafe for SectionHeader
impl Send for SectionHeader
impl Sync for SectionHeader
impl Unpin for SectionHeader
impl UnwindSafe for SectionHeader
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