pub struct CoffSection {
pub header: SectionHeader,
pub data: Vec<u8>,
pub relocations: Vec<CoffRelocation>,
}Expand description
COFF 节结构
表示 COFF 对象文件中的一个节,包含节头和数据。 与 PE 节类似,但用于对象文件而非可执行文件。
Fields§
§header: SectionHeader节头信息
data: Vec<u8>节的原始数据
relocations: Vec<CoffRelocation>重定位表,包含该节的所有重定位项
Trait Implementations§
Source§impl Clone for CoffSection
impl Clone for CoffSection
Source§fn clone(&self) -> CoffSection
fn clone(&self) -> CoffSection
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 CoffSection
impl Debug for CoffSection
Source§impl<'de> Deserialize<'de> for CoffSection
impl<'de> Deserialize<'de> for CoffSection
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
Auto Trait Implementations§
impl Freeze for CoffSection
impl RefUnwindSafe for CoffSection
impl Send for CoffSection
impl Sync for CoffSection
impl Unpin for CoffSection
impl UnwindSafe for CoffSection
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