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

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

#include <NtRequestPort.hh>

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

Public Member Functions

virtual uint64_t PortHandle () const =0
 Getter for PortHandle.
 
virtual guest_ptr< void > RequestPtr () const =0
 Getter for RequestPtr.
 
virtual void PortHandle (uint64_t PortHandle)=0
 Setter for PortHandle.
 
virtual void RequestPtr (const guest_ptr< void > &pRequest)=0
 Setter for RequestPtr.
 
virtual const PORT_MESSAGERequest () const =0
 
virtual PORT_MESSAGERequest ()=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 PortHandle, const PORT_MESSAGE &Request)
 

Detailed Description

Handler class for the NtRequestPort system call.

Member Function Documentation

◆ inject()

static NTSTATUS introvirt::windows::nt::NtRequestPort::inject ( uint64_t  PortHandle,
const PORT_MESSAGE Request 
)
static

◆ PortHandle() [1/2]

virtual uint64_t introvirt::windows::nt::NtRequestPort::PortHandle ( ) const
pure virtual

Getter for PortHandle.

Returns
The value of the PortHandle parameter

◆ PortHandle() [2/2]

virtual void introvirt::windows::nt::NtRequestPort::PortHandle ( uint64_t  PortHandle)
pure virtual

Setter for PortHandle.

Parameters
PortHandleThe value to set for the PortHandle parameter

◆ Request() [1/2]

virtual const PORT_MESSAGE * introvirt::windows::nt::NtRequestPort::Request ( ) const
pure virtual

◆ Request() [2/2]

virtual PORT_MESSAGE * introvirt::windows::nt::NtRequestPort::Request ( )
pure virtual

◆ RequestPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtRequestPort::RequestPtr ( ) const
pure virtual

Getter for RequestPtr.

Returns
The address pointed to by the the RequestPtr parameter

◆ RequestPtr() [2/2]

virtual void introvirt::windows::nt::NtRequestPort::RequestPtr ( const guest_ptr< void > &  pRequest)
pure virtual

Setter for RequestPtr.

Parameters
pRequestThe address to set for the RequestPtr parameter

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