Struct object::pe::MaskedRichHeaderEntry
source · #[repr(C)]pub struct MaskedRichHeaderEntry {
pub masked_comp_id: U32<LittleEndian>,
pub masked_count: U32<LittleEndian>,
}
Expand description
A PE rich header entry.
Rich headers have no official documentation, but have been heavily reversed-engineered and documented in the wild, e.g.:
http://www.ntcore.com/files/richsign.htm
https://www.researchgate.net/figure/Structure-of-the-Rich-Header_fig1_318145388
This data is “masked”, i.e. XORed with a checksum derived from the file data.
Fields§
§masked_comp_id: U32<LittleEndian>
§masked_count: U32<LittleEndian>
Trait Implementations§
source§impl Clone for MaskedRichHeaderEntry
impl Clone for MaskedRichHeaderEntry
source§fn clone(&self) -> MaskedRichHeaderEntry
fn clone(&self) -> MaskedRichHeaderEntry
Returns a copy 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 MaskedRichHeaderEntry
impl Debug for MaskedRichHeaderEntry
impl Copy for MaskedRichHeaderEntry
impl Pod for MaskedRichHeaderEntry
Auto Trait Implementations§
impl Freeze for MaskedRichHeaderEntry
impl RefUnwindSafe for MaskedRichHeaderEntry
impl Send for MaskedRichHeaderEntry
impl Sync for MaskedRichHeaderEntry
impl Unpin for MaskedRichHeaderEntry
impl UnwindSafe for MaskedRichHeaderEntry
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)