pub struct StructLayout32;Expand description
32-bit structure layout.
Trait Implementations§
Source§impl CurDir<StructLayout32> for CurDirLayout
impl CurDir<StructLayout32> for CurDirLayout
Source§const OFFSET_DOS_PATH: u64 = 0x00
const OFFSET_DOS_PATH: u64 = 0x00
Offset of the
DosPath field.Source§impl LdrDataTableEntry<StructLayout32> for LdrDataTableEntryLayout
impl LdrDataTableEntry<StructLayout32> for LdrDataTableEntryLayout
Source§const OFFSET_IN_LOAD_ORDER_LINKS: u64 = 0x00
const OFFSET_IN_LOAD_ORDER_LINKS: u64 = 0x00
Offset of the
InLoadOrderLinks field.Source§const OFFSET_IN_MEMORY_ORDER_LINKS: u64 = 0x08
const OFFSET_IN_MEMORY_ORDER_LINKS: u64 = 0x08
Offset of the
InMemoryOrderLinks field.Source§const OFFSET_IN_INITIALIZATION_ORDER_LINKS: u64 = 0x10
const OFFSET_IN_INITIALIZATION_ORDER_LINKS: u64 = 0x10
Offset of the
InInitializationOrderLinks field.Source§impl ListEntry<StructLayout32> for ListEntryLayout
impl ListEntry<StructLayout32> for ListEntryLayout
Source§const OFFSET_FLINK: u64 = 0x00
const OFFSET_FLINK: u64 = 0x00
Offset of the
LIST_ENTRY::Flink field.Source§const OFFSET_BLINK: u64 = 0x04
const OFFSET_BLINK: u64 = 0x04
Offset of the
LIST_ENTRY::Blink field.Source§impl Peb<StructLayout32> for PebLayout
impl Peb<StructLayout32> for PebLayout
Source§const OFFSET_LDR: u64 = 0x0c
const OFFSET_LDR: u64 = 0x0c
Offset of the
Ldr field.Source§const OFFSET_PROCESS_PARAMETERS: u64 = 0x10
const OFFSET_PROCESS_PARAMETERS: u64 = 0x10
Offset of the
ProcessParameters field.Source§impl PebLdrData<StructLayout32> for PebLdrDataLayout
impl PebLdrData<StructLayout32> for PebLdrDataLayout
Source§const OFFSET_IN_LOAD_ORDER_MODULE_LIST: u64 = 0x0c
const OFFSET_IN_LOAD_ORDER_MODULE_LIST: u64 = 0x0c
Offset of the
InLoadOrderModuleList field.Source§const OFFSET_IN_MEMORY_ORDER_MODULE_LIST: u64 = 0x14
const OFFSET_IN_MEMORY_ORDER_MODULE_LIST: u64 = 0x14
Offset of the
InMemoryOrderModuleList field.Source§const OFFSET_IN_INITIALIZATION_ORDER_MODULE_LIST: u64 = 0x1c
const OFFSET_IN_INITIALIZATION_ORDER_MODULE_LIST: u64 = 0x1c
Offset of the
InInitializationOrderModuleList field.Source§impl RtlUserProcessParameters<StructLayout32> for RtlUserProcessParametersLayout
impl RtlUserProcessParameters<StructLayout32> for RtlUserProcessParametersLayout
Source§const OFFSET_CURRENT_DIRECTORY: u64 = 0x24
const OFFSET_CURRENT_DIRECTORY: u64 = 0x24
Offset of the
CurrentDirectory field.Source§const OFFSET_DLL_PATH: u64 = 0x30
const OFFSET_DLL_PATH: u64 = 0x30
Offset of the
DllPath field.Source§const OFFSET_IMAGE_PATH_NAME: u64 = 0x38
const OFFSET_IMAGE_PATH_NAME: u64 = 0x38
Offset of the
ImagePathName field.Source§const OFFSET_COMMAND_LINE: u64 = 0x40
const OFFSET_COMMAND_LINE: u64 = 0x40
Offset of the
CommandLine field.Source§impl StructLayout for StructLayout32
impl StructLayout for StructLayout32
Source§const ADDRESS_WIDTH: u64 = 4
const ADDRESS_WIDTH: u64 = 4
The address width (i.e. pointer size) in bytes.
Source§fn read_va<Driver>(
vmi: VmiState<'_, WindowsOs<Driver>>,
ctx: impl Into<AccessContext>,
) -> Result<Va, VmiError>
fn read_va<Driver>( vmi: VmiState<'_, WindowsOs<Driver>>, ctx: impl Into<AccessContext>, ) -> Result<Va, VmiError>
Reads a pointer-sized virtual address from guest memory.
Source§fn read_unicode_string<Driver>(
vmi: VmiState<'_, WindowsOs<Driver>>,
ctx: impl Into<AccessContext>,
) -> Result<String, VmiError>
fn read_unicode_string<Driver>( vmi: VmiState<'_, WindowsOs<Driver>>, ctx: impl Into<AccessContext>, ) -> Result<String, VmiError>
Reads a
UNICODE_STRING from guest memory.Source§impl Teb<StructLayout32> for TebLayout
impl Teb<StructLayout32> for TebLayout
Source§const OFFSET_PROCESS_ENVIRONMENT_BLOCK: u64 = 0x30
const OFFSET_PROCESS_ENVIRONMENT_BLOCK: u64 = 0x30
Offset of the
ProcessEnvironmentBlock field.Source§const OFFSET_LAST_ERROR_VALUE: u64 = 0x34
const OFFSET_LAST_ERROR_VALUE: u64 = 0x34
Offset of the
LastErrorValue field.Source§const OFFSET_LAST_STATUS_VALUE: u64 = 0x0bf4
const OFFSET_LAST_STATUS_VALUE: u64 = 0x0bf4
Offset of the
LastStatusValue field.Source§const OFFSET_TLS_SLOTS: u64 = 0x0e10
const OFFSET_TLS_SLOTS: u64 = 0x0e10
Offset of the
TlsSlots field.Auto Trait Implementations§
impl Freeze for StructLayout32
impl RefUnwindSafe for StructLayout32
impl Send for StructLayout32
impl Sync for StructLayout32
impl Unpin for StructLayout32
impl UnsafeUnpin for StructLayout32
impl UnwindSafe for StructLayout32
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out indicating that a T is niched.