PEB

Struct PEB 

Source
#[repr(C)]
pub struct PEB {
Show 92 fields pub InheritedAddressSpace: u8, pub ReadImageFileExecOptions: u8, pub BeingDebugged: u8, pub Anonymous1: PEB_0, pub Mutant: HANDLE, pub ImageBaseAddress: *mut c_void, pub Ldr: *mut PEB_LDR_DATA, pub ProcessParameters: *mut RTL_USER_PROCESS_PARAMETERS, pub SubSystemData: *mut c_void, pub ProcessHeap: *mut c_void, pub FastPebLock: *mut RTL_CRITICAL_SECTION, pub AtlThunkSListPtr: *mut SLIST_HEADER, pub IFEOKey: *mut c_void, pub Anonymous2: PEB_1, pub Anonymous3: PEB_2, pub SystemReserved: u32, pub AtlThunkSListPtr32: u32, pub ApiSetMap: *mut API_SET_NAMESPACE, pub TlsExpansionCounter: u32, pub TlsBitmap: *mut RTL_BITMAP, pub TlsBitmapBits: [u32; 2], pub ReadOnlySharedMemoryBase: *mut c_void, pub SharedData: *mut SILO_USER_SHARED_DATA, pub ReadOnlyStaticServerData: *mut c_void, pub AnsiCodePageData: *mut c_void, pub OemCodePageData: *mut c_void, pub UnicodeCaseTableData: *mut c_void, pub NumberOfProcessors: u32, pub NtGlobalFlag: u32, pub CriticalSectionTimeout: LARGE_INTEGER, pub HeapSegmentReserve: usize, pub HeapSegmentCommit: usize, pub HeapDeCommitTotalFreeThreshold: usize, pub HeapDeCommitFreeBlockThreshold: usize, pub NumberOfHeaps: u32, pub MaximumNumberOfHeaps: u32, pub ProcessHeaps: *mut c_void, pub GdiSharedHandleTable: *mut c_void, pub ProcessStarterHelper: *mut c_void, pub GdiDCAttributeList: u32, pub LoaderLock: *mut RTL_CRITICAL_SECTION, pub OSMajorVersion: u32, pub OSMinorVersion: u32, pub OSBuildNumber: u16, pub OSCSDVersion: u16, pub OSPlatformId: u32, pub ImageSubsystem: u32, pub ImageSubsystemMajorVersion: u32, pub ImageSubsystemMinorVersion: u32, pub ActiveProcessAffinityMask: usize, pub GdiHandleBuffer: GDI_HANDLE_BUFFER, pub PostProcessInitRoutine: PPS_POST_PROCESS_INIT_ROUTINE, pub TlsExpansionBitmap: *mut RTL_BITMAP, pub TlsExpansionBitmapBits: [u32; 32], pub SessionId: u32, pub AppCompatFlags: ULARGE_INTEGER, pub AppCompatFlagsUser: ULARGE_INTEGER, pub pShimData: *mut c_void, pub AppCompatInfo: *mut c_void, pub CSDVersion: UNICODE_STRING, pub ActivationContextData: *mut ACTIVATION_CONTEXT_DATA, pub ProcessAssemblyStorageMap: *mut ASSEMBLY_STORAGE_MAP, pub SystemDefaultActivationContextData: *mut ACTIVATION_CONTEXT_DATA, pub SystemAssemblyStorageMap: *mut ASSEMBLY_STORAGE_MAP, pub MinimumStackCommit: usize, pub SparePointers: *mut c_void, pub PatchLoaderData: *mut c_void, pub ChpeV2ProcessInfo: *mut c_void, pub Anonymous4: PEB_3, pub SpareUlongs: [u32; 2], pub ActiveCodePage: u16, pub OemCodePage: u16, pub UseCaseMapping: u16, pub UnusedNlsField: u16, pub WerRegistrationData: *mut WER_PEB_HEADER_BLOCK, pub WerShipAssertPtr: *mut c_void, pub Anonymous5: PEB_4, pub pImageHeaderHash: *mut c_void, pub Anonymous6: PEB_5, pub CsrServerReadOnlySharedMemoryBase: u64, pub TppWorkerpListLock: *mut RTL_CRITICAL_SECTION, pub TppWorkerpList: LIST_ENTRY, pub WaitOnAddressHashTable: [*mut c_void; 128], pub TelemetryCoverageHeader: *mut TELEMETRY_COVERAGE_HEADER, pub CloudFileFlags: u32, pub CloudFileDiagFlags: u32, pub PlaceholderCompatibilityMode: i8, pub PlaceholderCompatibilityModeReserved: [i8; 7], pub LeapSecondData: *mut c_void, pub Anonymous7: PEB_6, pub NtGlobalFlag2: u32, pub ExtendedFeatureDisableMask: u64,
}

Fields§

§InheritedAddressSpace: u8§ReadImageFileExecOptions: u8§BeingDebugged: u8§Anonymous1: PEB_0§Mutant: HANDLE§ImageBaseAddress: *mut c_void§Ldr: *mut PEB_LDR_DATA§ProcessParameters: *mut RTL_USER_PROCESS_PARAMETERS§SubSystemData: *mut c_void§ProcessHeap: *mut c_void§FastPebLock: *mut RTL_CRITICAL_SECTION§AtlThunkSListPtr: *mut SLIST_HEADER§IFEOKey: *mut c_void§Anonymous2: PEB_1§Anonymous3: PEB_2§SystemReserved: u32§AtlThunkSListPtr32: u32§ApiSetMap: *mut API_SET_NAMESPACE§TlsExpansionCounter: u32§TlsBitmap: *mut RTL_BITMAP§TlsBitmapBits: [u32; 2]§ReadOnlySharedMemoryBase: *mut c_void§SharedData: *mut SILO_USER_SHARED_DATA§ReadOnlyStaticServerData: *mut c_void§AnsiCodePageData: *mut c_void§OemCodePageData: *mut c_void§UnicodeCaseTableData: *mut c_void§NumberOfProcessors: u32§NtGlobalFlag: u32§CriticalSectionTimeout: LARGE_INTEGER§HeapSegmentReserve: usize§HeapSegmentCommit: usize§HeapDeCommitTotalFreeThreshold: usize§HeapDeCommitFreeBlockThreshold: usize§NumberOfHeaps: u32§MaximumNumberOfHeaps: u32§ProcessHeaps: *mut c_void§GdiSharedHandleTable: *mut c_void§ProcessStarterHelper: *mut c_void§GdiDCAttributeList: u32§LoaderLock: *mut RTL_CRITICAL_SECTION§OSMajorVersion: u32§OSMinorVersion: u32§OSBuildNumber: u16§OSCSDVersion: u16§OSPlatformId: u32§ImageSubsystem: u32§ImageSubsystemMajorVersion: u32§ImageSubsystemMinorVersion: u32§ActiveProcessAffinityMask: usize§GdiHandleBuffer: GDI_HANDLE_BUFFER§PostProcessInitRoutine: PPS_POST_PROCESS_INIT_ROUTINE§TlsExpansionBitmap: *mut RTL_BITMAP§TlsExpansionBitmapBits: [u32; 32]§SessionId: u32§AppCompatFlags: ULARGE_INTEGER§AppCompatFlagsUser: ULARGE_INTEGER§pShimData: *mut c_void§AppCompatInfo: *mut c_void§CSDVersion: UNICODE_STRING§ActivationContextData: *mut ACTIVATION_CONTEXT_DATA§ProcessAssemblyStorageMap: *mut ASSEMBLY_STORAGE_MAP§SystemDefaultActivationContextData: *mut ACTIVATION_CONTEXT_DATA§SystemAssemblyStorageMap: *mut ASSEMBLY_STORAGE_MAP§MinimumStackCommit: usize§SparePointers: *mut c_void§PatchLoaderData: *mut c_void§ChpeV2ProcessInfo: *mut c_void§Anonymous4: PEB_3§SpareUlongs: [u32; 2]§ActiveCodePage: u16§OemCodePage: u16§UseCaseMapping: u16§UnusedNlsField: u16§WerRegistrationData: *mut WER_PEB_HEADER_BLOCK§WerShipAssertPtr: *mut c_void§Anonymous5: PEB_4§pImageHeaderHash: *mut c_void§Anonymous6: PEB_5§CsrServerReadOnlySharedMemoryBase: u64§TppWorkerpListLock: *mut RTL_CRITICAL_SECTION§TppWorkerpList: LIST_ENTRY§WaitOnAddressHashTable: [*mut c_void; 128]§TelemetryCoverageHeader: *mut TELEMETRY_COVERAGE_HEADER§CloudFileFlags: u32§CloudFileDiagFlags: u32§PlaceholderCompatibilityMode: i8§PlaceholderCompatibilityModeReserved: [i8; 7]§LeapSecondData: *mut c_void§Anonymous7: PEB_6§NtGlobalFlag2: u32§ExtendedFeatureDisableMask: u64

Trait Implementations§

Source§

impl Clone for PEB

Source§

fn clone(&self) -> PEB

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 Copy for PEB

Auto Trait Implementations§

§

impl Freeze for PEB

§

impl RefUnwindSafe for PEB

§

impl !Send for PEB

§

impl !Sync for PEB

§

impl Unpin for PEB

§

impl UnwindSafe for PEB

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.