pub struct Section64 {
pub sectname: [u8; 16],
pub segname: [u8; 16],
pub addr: u64,
pub size: u64,
pub offset: u32,
pub align: u32,
pub reloff: u32,
pub nreloc: u32,
pub flags: u32,
pub reserved1: u32,
pub reserved2: u32,
pub reserved3: u32,
}Expand description
节结构(64位)
Fields§
§sectname: [u8; 16]节名称
segname: [u8; 16]段名称
addr: u64虚拟内存地址
size: u64大小
offset: u32文件偏移
align: u32对齐
reloff: u32重定位偏移
nreloc: u32重定位数量
flags: u32标志
reserved1: u32保留字段1
reserved2: u32保留字段2
reserved3: u32保留字段3
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Section64
impl<'de> Deserialize<'de> for Section64
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
impl Copy for Section64
Auto Trait Implementations§
impl Freeze for Section64
impl RefUnwindSafe for Section64
impl Send for Section64
impl Sync for Section64
impl Unpin for Section64
impl UnsafeUnpin for Section64
impl UnwindSafe for Section64
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