pub struct Repro<'a> { /* private fields */ }
Expand description
This structure represents a reproducible build entry from the debug directory
(IMAGE_DEBUG_TYPE_REPRO
)
This entry is usually generated with the undocumented /Brepro
linker flag.
See: https://nikhilism.com/post/2020/windows-deterministic-builds/
Implementations§
Trait Implementations§
§impl DebugEntry for Repro<'_>
impl DebugEntry for Repro<'_>
§fn characteristics(&self) -> u32
fn characteristics(&self) -> u32
Reserved should be 0
§fn major_version(&self) -> u16
fn major_version(&self) -> u16
The major version number of the debug data format.
§fn minor_version(&self) -> u16
fn minor_version(&self) -> u16
The minor version number of the debug data format.
§fn sizeof_data(&self) -> u32
fn sizeof_data(&self) -> u32
Size of the debug data
§fn addressof_rawdata(&self) -> u32
fn addressof_rawdata(&self) -> u32
Address of the debug data relative to the image base
§fn pointerto_rawdata(&self) -> u32
fn pointerto_rawdata(&self) -> u32
File offset of the debug data
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Repro<'a>
impl<'a> !Send for Repro<'a>
impl<'a> !Sync for Repro<'a>
impl<'a> Unpin for Repro<'a>
impl<'a> UnwindSafe for Repro<'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