[][src]Struct vmread::tlb::Tlb

pub struct Tlb { /* fields omitted */ }

Methods

impl Tlb[src]

pub fn from_current_thread() -> Tlb[src]

Create the TLB of current thread

Remarks

In VMRead, each thread has its own Translation Lookaside Buffer so as to not spend resources on locking mechanisms.

pub fn flush_tlb(&self) -> &Self[src]

Flush TLB

pub fn verify_tlb(&self, c_ctx: &WinCtx) -> &Self[src]

Verify TLB

pub fn set_mem_cache_time(new_time: usize)[src]

Set global TLB validity time in milliseconds

Defines for how long translation caches (TLB and page buffer) should be valid. Higher values lead to higher performance, but could potentially lead to incorrect translation if the page tables update in that period. Especially dangerous if write operations are to be performed.

Arguments

  • new_time - new validity time

pub fn get_default_mem_cache_time() -> usize[src]

Get the default TLB validity in milliseconds

Auto Trait Implementations

impl RefUnwindSafe for Tlb

impl !Send for Tlb

impl !Sync for Tlb

impl Unpin for Tlb

impl UnwindSafe for Tlb

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.