pub struct ArchConstraints {
pub arch: Architecture,
pub min_alignment: usize,
pub max_randomization: usize,
pub forbidden_ranges: Vec<MemoryRegion>,
}
Expand description
Architecture-specific constraints for ASLR.
Fields§
§arch: Architecture
§min_alignment: usize
§max_randomization: usize
§forbidden_ranges: Vec<MemoryRegion>
Implementations§
Trait Implementations§
Source§impl Clone for ArchConstraints
impl Clone for ArchConstraints
Source§fn clone(&self) -> ArchConstraints
fn clone(&self) -> ArchConstraints
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ArchConstraints
impl RefUnwindSafe for ArchConstraints
impl Send for ArchConstraints
impl Sync for ArchConstraints
impl Unpin for ArchConstraints
impl UnwindSafe for ArchConstraints
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