Struct object::pe::MaskedRichHeaderEntry
source · [−]#[repr(C)]pub struct MaskedRichHeaderEntry {
pub masked_comp_id: U32<LE>,
pub masked_count: U32<LE>,
}
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<LE>
masked_count: U32<LE>
Trait Implementations
sourceimpl Clone for MaskedRichHeaderEntry
impl Clone for MaskedRichHeaderEntry
sourcefn clone(&self) -> MaskedRichHeaderEntry
fn clone(&self) -> MaskedRichHeaderEntry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MaskedRichHeaderEntry
impl Debug for MaskedRichHeaderEntry
impl Copy for MaskedRichHeaderEntry
impl Pod for MaskedRichHeaderEntry
Auto Trait Implementations
impl RefUnwindSafe for MaskedRichHeaderEntry
impl Send for MaskedRichHeaderEntry
impl Sync for MaskedRichHeaderEntry
impl Unpin for MaskedRichHeaderEntry
impl UnwindSafe for MaskedRichHeaderEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more