Struct Flags
pub struct Flags { /* private fields */ }
Expand description
Flags group arm64
.
Implementations§
§impl Flags
impl Flags
User-defined settings.
pub fn predicate_view(&self) -> PredicateView<'_>
pub fn predicate_view(&self) -> PredicateView<'_>
Get a view of the boolean predicates.
pub fn has_pauth(&self) -> bool
pub fn has_pauth(&self) -> bool
Has Pointer authentication (FEAT_PAuth) support; enables the use of non-HINT instructions, but does not have an effect on code generation by itself.
pub fn sign_return_address_all(&self) -> bool
pub fn sign_return_address_all(&self) -> bool
If function return address signing is enabled, then apply it to all functions; does not have an effect on code generation by itself.
pub fn sign_return_address(&self) -> bool
pub fn sign_return_address(&self) -> bool
Use pointer authentication instructions to sign function return addresses; HINT-space instructions using the A key are generated and simple functions that do not use the stack are not affected unless overridden by other settings.
pub fn sign_return_address_with_bkey(&self) -> bool
pub fn sign_return_address_with_bkey(&self) -> bool
Use the B key with pointer authentication instructions instead of the default A key; does not have an effect on code generation by itself. Some platform ABIs may require this, for example.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Flags
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnwindSafe for Flags
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)