Struct lief::pe::rich_header::RichHeader
pub struct RichHeader<'a> { /* private fields */ }Expand description
Structure which represents the not-so-documented rich header
This structure is usually located at the end of the crate::pe::Binary::dos_stub
and contains information about the build environment.
It is generated by the Microsoft linker link.exe and there are no options to disable
or remove this information.
Implementations§
§impl<'a> RichHeader<'a>
impl<'a> RichHeader<'a>
pub fn raw_with_key(&self, xor_key: u32) -> Vec<u8>
pub fn raw_with_key(&self, xor_key: u32) -> Vec<u8>
Return the raw bytes of the Rich header XOR-ed with the given key
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RichHeader<'a>
impl<'a> !Send for RichHeader<'a>
impl<'a> !Sync for RichHeader<'a>
impl<'a> Unpin for RichHeader<'a>
impl<'a> !UnwindSafe for RichHeader<'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