pub struct SectionHeader64 {
pub sh_name: u32,
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
ELF 节头结构(64位)
描述文件中各个节的信息,用于链接和调试。
Fields§
§sh_name: u32节名称(字符串表索引)
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节项大小
Trait Implementations§
Source§impl Clone for SectionHeader64
impl Clone for SectionHeader64
Source§fn clone(&self) -> SectionHeader64
fn clone(&self) -> SectionHeader64
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SectionHeader64
impl Debug for SectionHeader64
Source§impl<'de> Deserialize<'de> for SectionHeader64
impl<'de> Deserialize<'de> for SectionHeader64
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SectionHeader64
impl Serialize for SectionHeader64
impl Copy for SectionHeader64
Auto Trait Implementations§
impl Freeze for SectionHeader64
impl RefUnwindSafe for SectionHeader64
impl Send for SectionHeader64
impl Sync for SectionHeader64
impl Unpin for SectionHeader64
impl UnwindSafe for SectionHeader64
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