FrameProcedureFlags

Struct FrameProcedureFlags 

Source
#[non_exhaustive]
pub struct FrameProcedureFlags {
Show 21 fields pub has_alloca: bool, pub has_setjmp: bool, pub has_longjmp: bool, pub has_inline_asm: bool, pub has_eh: bool, pub inline_spec: bool, pub has_seh: bool, pub naked: bool, pub security_checks: bool, pub async_eh: bool, pub gs_no_stack_ordering: bool, pub was_inlined: bool, pub gs_check: bool, pub safe_buffers: bool, pub encoded_local_base_pointer: u8, pub encoded_param_base_pointer: u8, pub pogo_on: bool, pub valid_counts: bool, pub opt_speed: bool, pub guard_cf: bool, pub guard_cfw: bool,
}
Expand description

Frame procedure flags declared in FrameProcedureSymbol

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§has_alloca: bool

function uses _alloca()

§has_setjmp: bool

function uses setjmp()

§has_longjmp: bool

function uses longjmp()

§has_inline_asm: bool

function uses inline asm

§has_eh: bool

function has EH states

§inline_spec: bool

function was speced as inline

§has_seh: bool

function has SEH

§naked: bool

function is __declspec(naked)

§security_checks: bool

function has buffer security check introduced by /GS.

§async_eh: bool

function compiled with /EHa

§gs_no_stack_ordering: bool

function has /GS buffer checks, but stack ordering couldn’t be done

§was_inlined: bool

function was inlined within another function

§gs_check: bool

function is __declspec(strict_gs_check)

§safe_buffers: bool

function is __declspec(safebuffers)

§encoded_local_base_pointer: u8

record function’s local pointer explicitly.

§encoded_param_base_pointer: u8

record function’s parameter pointer explicitly.

§pogo_on: bool

function was compiled with PGO/PGU

§valid_counts: bool

Do we have valid Pogo counts?

§opt_speed: bool

Did we optimize for speed?

§guard_cf: bool

function contains CFG checks (and no write checks)

§guard_cfw: bool

function contains CFW checks and/or instrumentation

Trait Implementations§

Source§

impl Clone for FrameProcedureFlags

Source§

fn clone(&self) -> FrameProcedureFlags

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FrameProcedureFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for FrameProcedureFlags

Source§

fn eq(&self, other: &FrameProcedureFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'t> TryFromCtx<'t, Endian> for FrameProcedureFlags

Source§

type Error = Error

Source§

fn try_from_ctx(this: &'t [u8], le: Endian) -> Result<(Self, usize)>

Source§

impl Copy for FrameProcedureFlags

Source§

impl Eq for FrameProcedureFlags

Source§

impl StructuralPartialEq for FrameProcedureFlags

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.