pub struct Coff<'a> {
pub header: CoffHeader,
pub sections: Vec<SectionTable>,
pub symbols: Option<SymbolTable<'a>>,
pub strings: Option<Strtab<'a>>,
}
Expand description
An analyzed COFF object
Fields§
§header: CoffHeader
The COFF header
sections: Vec<SectionTable>
A list of the sections in this COFF binary
symbols: Option<SymbolTable<'a>>
The COFF symbol table, they are not guaranteed to exist. For an image, this is expected to be None as COFF debugging information has been deprecated.
strings: Option<Strtab<'a>>
The string table, they don’t exist if COFF symbol table does not exist.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Coff<'a>
impl<'a> RefUnwindSafe for Coff<'a>
impl<'a> Send for Coff<'a>
impl<'a> Sync for Coff<'a>
impl<'a> Unpin for Coff<'a>
impl<'a> UnwindSafe for Coff<'a>
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