Struct authenticode::PeOffsets
source · pub struct PeOffsets {
pub check_sum: usize,
pub after_check_sum: usize,
pub security_data_dir: usize,
pub after_security_data_dir: usize,
pub after_header: usize,
}
Expand description
Various offsets within the PE file needed for authenticode hashing.
Fields§
§check_sum: usize
Offset of the checksum
field in the optional header.
after_check_sum: usize
Offset of the next byte after the checksum
field.
security_data_dir: usize
Offset of the security data directory itself (not the data pointed to by the directory).
after_security_data_dir: usize
Offset of the next byte after the security data directory.
after_header: usize
Offset of the next byte after the header.
Trait Implementations§
source§impl PartialEq for PeOffsets
impl PartialEq for PeOffsets
impl Eq for PeOffsets
impl StructuralEq for PeOffsets
impl StructuralPartialEq for PeOffsets
Auto Trait Implementations§
impl RefUnwindSafe for PeOffsets
impl Send for PeOffsets
impl Sync for PeOffsets
impl Unpin for PeOffsets
impl UnwindSafe for PeOffsets
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