libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
introvirt::windows::nt::NtLockVirtualMemory Class Referenceabstract

Handler class for the NtLockVirtualMemory system call. More...

#include <NtLockVirtualMemory.hh>

Inheritance diagram for introvirt::windows::nt::NtLockVirtualMemory:
Collaboration diagram for introvirt::windows::nt::NtLockVirtualMemory:

Public Member Functions

virtual uint64_t ProcessHandle () const =0
 Getter for ProcessHandle.
 
virtual guest_ptr< void > BaseAddressPtr () const =0
 Getter for BaseAddressPtr.
 
virtual guest_ptr< void > NumberOfBytesPtr () const =0
 Getter for NumberOfBytesPtr.
 
virtual MapType LockOption () const =0
 Getter for LockOption.
 
virtual void ProcessHandle (uint64_t ProcessHandle)=0
 Setter for ProcessHandle.
 
virtual void BaseAddressPtr (const guest_ptr< void > &pBaseAddress)=0
 Setter for BaseAddressPtr.
 
virtual void NumberOfBytesPtr (const guest_ptr< void > &pNumberOfBytes)=0
 Setter for NumberOfBytesPtr.
 
virtual void LockOption (MapType LockOption)=0
 Setter for LockOption.
 
virtual size_t BaseAddress () const =0
 
virtual void BaseAddress (size_t BaseAddress)=0
 
virtual size_t NumberOfBytes () const =0
 
virtual void NumberOfBytes (size_t NumberOfBytes)=0
 
- Public Member Functions inherited from introvirt::windows::nt::NtSystemCall
virtual NTSTATUS result () const =0
 Get the result code.
 
virtual void result (NTSTATUS_CODE code)=0
 Set the result code.
 
- Public Member Functions inherited from introvirt::windows::WindowsSystemCall
virtual SystemCallIndex index () const =0
 Get the system call number.
 
- Public Member Functions inherited from introvirt::SystemCall
virtual const std::string & name () const =0
 Get the name of the system call.
 
virtual void write (std::ostream &os=std::cout) const =0
 Write a human-readable description of this system call.
 
virtual Json::Value json () const =0
 
virtual bool will_return () const =0
 
virtual void data (const std::string &key, const std::shared_ptr< void > &value)=0
 Store arbitrary data with the SystemCall.
 
virtual void data (const std::string &key, std::shared_ptr< void > &&value)=0
 Store arbitrary data with the SystemCall.
 
virtual std::shared_ptr< void > data (const std::string &key)=0
 Retrieve arbitrary data stored with the SystemCall.
 
virtual std::shared_ptr< const void > data (const std::string &key) const =0
 Retrieve arbitrary data stored with the SystemCall.
 
virtual bool supported () const =0
 Check if this system call is supported by a more specific handler.
 
virtual void handle_return_event (Event &event)=0
 Handle a system call return event.
 
virtual ~SystemCall ()=default
 Destroy the instance.
 

Static Public Member Functions

static NTSTATUS inject (uint64_t ProcessHandle, size_t &BaseAddress, size_t &NumberOfBytes, MapType LockOption)
 

Detailed Description

Handler class for the NtLockVirtualMemory system call.

Member Function Documentation

◆ BaseAddress() [1/2]

virtual size_t introvirt::windows::nt::NtLockVirtualMemory::BaseAddress ( ) const
pure virtual

◆ BaseAddress() [2/2]

virtual void introvirt::windows::nt::NtLockVirtualMemory::BaseAddress ( size_t  BaseAddress)
pure virtual

◆ BaseAddressPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtLockVirtualMemory::BaseAddressPtr ( ) const
pure virtual

Getter for BaseAddressPtr.

Returns
The address pointed to by the the BaseAddressPtr parameter

◆ BaseAddressPtr() [2/2]

virtual void introvirt::windows::nt::NtLockVirtualMemory::BaseAddressPtr ( const guest_ptr< void > &  pBaseAddress)
pure virtual

Setter for BaseAddressPtr.

Parameters
pBaseAddressThe address to set for the BaseAddressPtr parameter

◆ inject()

static NTSTATUS introvirt::windows::nt::NtLockVirtualMemory::inject ( uint64_t  ProcessHandle,
size_t &  BaseAddress,
size_t &  NumberOfBytes,
MapType  LockOption 
)
static

◆ LockOption() [1/2]

virtual MapType introvirt::windows::nt::NtLockVirtualMemory::LockOption ( ) const
pure virtual

Getter for LockOption.

Returns
The value of the LockOption parameter

◆ LockOption() [2/2]

virtual void introvirt::windows::nt::NtLockVirtualMemory::LockOption ( MapType  LockOption)
pure virtual

Setter for LockOption.

Parameters
LockOptionThe value to set for the LockOption parameter

◆ NumberOfBytes() [1/2]

virtual size_t introvirt::windows::nt::NtLockVirtualMemory::NumberOfBytes ( ) const
pure virtual

◆ NumberOfBytes() [2/2]

virtual void introvirt::windows::nt::NtLockVirtualMemory::NumberOfBytes ( size_t  NumberOfBytes)
pure virtual

◆ NumberOfBytesPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtLockVirtualMemory::NumberOfBytesPtr ( ) const
pure virtual

Getter for NumberOfBytesPtr.

Returns
The address pointed to by the the NumberOfBytesPtr parameter

◆ NumberOfBytesPtr() [2/2]

virtual void introvirt::windows::nt::NtLockVirtualMemory::NumberOfBytesPtr ( const guest_ptr< void > &  pNumberOfBytes)
pure virtual

Setter for NumberOfBytesPtr.

Parameters
pNumberOfBytesThe address to set for the NumberOfBytesPtr parameter

◆ ProcessHandle() [1/2]

virtual uint64_t introvirt::windows::nt::NtLockVirtualMemory::ProcessHandle ( ) const
pure virtual

Getter for ProcessHandle.

Returns
The value of the ProcessHandle parameter

◆ ProcessHandle() [2/2]

virtual void introvirt::windows::nt::NtLockVirtualMemory::ProcessHandle ( uint64_t  ProcessHandle)
pure virtual

Setter for ProcessHandle.

Parameters
ProcessHandleThe value to set for the ProcessHandle parameter

The documentation for this class was generated from the following file: