pub struct CoffObject {
pub header: CoffHeader,
pub sections: Vec<CoffSection>,
pub symbols: Vec<CoffSymbol>,
pub string_table: Vec<u8>,
}Expand description
COFF 对象文件结构
表示一个完整的 COFF 对象文件,包含头部、节、符号表等信息。 COFF 对象文件是编译器生成的中间文件,包含未链接的代码和数据。
Fields§
§header: CoffHeaderCOFF 头部信息
sections: Vec<CoffSection>所有节的集合
symbols: Vec<CoffSymbol>符号表,包含所有符号信息
string_table: Vec<u8>字符串表,存储长符号名称
Trait Implementations§
Source§impl Clone for CoffObject
impl Clone for CoffObject
Source§fn clone(&self) -> CoffObject
fn clone(&self) -> CoffObject
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 CoffObject
impl Debug for CoffObject
Source§impl<'de> Deserialize<'de> for CoffObject
impl<'de> Deserialize<'de> for CoffObject
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 CoffObject
impl RefUnwindSafe for CoffObject
impl Send for CoffObject
impl Sync for CoffObject
impl Unpin for CoffObject
impl UnwindSafe for CoffObject
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