pub struct CoffObject {
pub header: CoffHeader,
pub sections: Vec<CoffSection>,
pub symbols: Vec<CoffSymbol>,
pub string_table: Vec<u8>,
}Expand description
COFF object file structure
Represents a complete COFF object file, containing header, sections, symbol table, etc. COFF object files are intermediate files generated by compilers, containing unlinked code and data.
Fields§
§header: CoffHeaderCOFF header info
sections: Vec<CoffSection>Collection of all sections
symbols: Vec<CoffSymbol>Symbol table containing all symbol info
string_table: Vec<u8>String table for storing long symbol names
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 UnsafeUnpin 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