#[repr(C)]pub struct ExDllCharacteristicsInfo {
pub characteristics_ex: u32,
}Expand description
Represents extended DLL characteristics information.
This structure holds additional characteristics of a DLL that may influence how the operating system loads or manages the DLL, especially in terms of security features and optimizations. These characteristics can include settings related to Intel CET (Control-flow Enforcement Technology) and other security-relevant attributes.
Fields§
§characteristics_ex: u32The extended characteristics of the DLL.
This field is a bitmask of flags that define various security and performance properties of the DLL. The specific flags are defined by the PE format specification.
This field contains one or more bitflags of:
IMAGE_DLLCHARACTERISTICS_EX_CET_COMPATIMAGE_DLLCHARACTERISTICS_EX_CET_COMPAT_STRICT_MODEIMAGE_DLLCHARACTERISTICS_EX_CET_SET_CONTEXT_IP_VALIDATION_RELAXED_MODEIMAGE_DLLCHARACTERISTICS_EX_CET_DYNAMIC_APIS_ALLOW_IN_PROC_ONLYIMAGE_DLLCHARACTERISTICS_EX_CET_RESERVED_1IMAGE_DLLCHARACTERISTICS_EX_CET_RESERVED_2IMAGE_DLLCHARACTERISTICS_EX_FORWARD_CFI_COMPATIMAGE_DLLCHARACTERISTICS_EX_HOTPATCH_COMPATIBLE
Implementations§
Source§impl<'a> ExDllCharacteristicsInfo
impl<'a> ExDllCharacteristicsInfo
pub fn parse(bytes: &'a [u8], idd: &ImageDebugDirectory) -> Result<Self>
pub fn parse_with_opts( bytes: &'a [u8], idd: &ImageDebugDirectory, opts: &ParseOptions, ) -> Result<Self>
Trait Implementations§
Source§impl Clone for ExDllCharacteristicsInfo
impl Clone for ExDllCharacteristicsInfo
Source§fn clone(&self) -> ExDllCharacteristicsInfo
fn clone(&self) -> ExDllCharacteristicsInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExDllCharacteristicsInfo
Source§impl Debug for ExDllCharacteristicsInfo
impl Debug for ExDllCharacteristicsInfo
Source§impl Default for ExDllCharacteristicsInfo
impl Default for ExDllCharacteristicsInfo
Source§fn default() -> ExDllCharacteristicsInfo
fn default() -> ExDllCharacteristicsInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for ExDllCharacteristicsInfo
impl PartialEq for ExDllCharacteristicsInfo
Source§fn eq(&self, other: &ExDllCharacteristicsInfo) -> bool
fn eq(&self, other: &ExDllCharacteristicsInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExDllCharacteristicsInfo
Auto Trait Implementations§
impl Freeze for ExDllCharacteristicsInfo
impl RefUnwindSafe for ExDllCharacteristicsInfo
impl Send for ExDllCharacteristicsInfo
impl Sync for ExDllCharacteristicsInfo
impl Unpin for ExDllCharacteristicsInfo
impl UnsafeUnpin for ExDllCharacteristicsInfo
impl UnwindSafe for ExDllCharacteristicsInfo
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