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

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

#include <NtConnectPort.hh>

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

Public Member Functions

virtual guest_ptr< void > ClientPortHandlePtr () const =0
 Getter for ClientPortHandlePtr.
 
virtual guest_ptr< void > ServerPortNamePtr () const =0
 Getter for ServerPortNamePtr.
 
virtual guest_ptr< void > SecurityQosPtr () const =0
 Getter for SecurityQosPtr.
 
virtual guest_ptr< void > ClientSharedMemoryPtr () const =0
 Getter for ClientSharedMemoryPtr.
 
virtual guest_ptr< void > ServerSharedMemoryPtr () const =0
 Getter for ServerSharedMemoryPtr.
 
virtual guest_ptr< void > MaximumMessageLengthPtr () const =0
 Getter for MaximumMessageLengthPtr.
 
virtual guest_ptr< void > ConnectionInfoPtr () const =0
 Getter for ConnectionInfoPtr.
 
virtual guest_ptr< void > ConnectionInfoLengthPtr () const =0
 Getter for ConnectionInfoLengthPtr.
 
virtual void ClientPortHandlePtr (const guest_ptr< void > &pClientPortHandle)=0
 Setter for ClientPortHandlePtr.
 
virtual void ServerPortNamePtr (const guest_ptr< void > &pServerPortName)=0
 Setter for ServerPortNamePtr.
 
virtual void SecurityQosPtr (const guest_ptr< void > &pSecurityQos)=0
 Setter for SecurityQosPtr.
 
virtual void ClientSharedMemoryPtr (const guest_ptr< void > &pClientSharedMemory)=0
 Setter for ClientSharedMemoryPtr.
 
virtual void ServerSharedMemoryPtr (const guest_ptr< void > &pServerSharedMemory)=0
 Setter for ServerSharedMemoryPtr.
 
virtual void MaximumMessageLengthPtr (const guest_ptr< void > &pMaximumMessageLength)=0
 Setter for MaximumMessageLengthPtr.
 
virtual void ConnectionInfoPtr (const guest_ptr< void > &pConnectionInfo)=0
 Setter for ConnectionInfoPtr.
 
virtual void ConnectionInfoLengthPtr (const guest_ptr< void > &pConnectionInfoLength)=0
 Setter for ConnectionInfoLengthPtr.
 
virtual uint64_t ClientPortHandle () const =0
 
virtual void ClientPortHandle (uint64_t ClientPortHandle)=0
 
virtual const UNICODE_STRINGServerPortName () const =0
 
virtual UNICODE_STRINGServerPortName ()=0
 
virtual uint32_t MaximumMessageLength () const =0
 
virtual void MaximumMessageLength (uint32_t MaximumMessageLength)=0
 
virtual uint32_t ConnectionInfoLength () const =0
 
virtual void ConnectionInfoLength (uint32_t ConnectionInfoLength)=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 &ClientPortHandle, const UNICODE_STRING &ServerPortName, const guest_ptr< void > &pSecurityQos, const guest_ptr< void > &pClientSharedMemory, const guest_ptr< void > &pServerSharedMemory, uint32_t *MaximumMessageLength, const guest_ptr< void > &pConnectionInfo, const uint32_t *ConnectionInfoLength)
 

Detailed Description

Handler class for the NtConnectPort system call.

Member Function Documentation

◆ ClientPortHandle() [1/2]

virtual uint64_t introvirt::windows::nt::NtConnectPort::ClientPortHandle ( ) const
pure virtual

◆ ClientPortHandle() [2/2]

virtual void introvirt::windows::nt::NtConnectPort::ClientPortHandle ( uint64_t  ClientPortHandle)
pure virtual

◆ ClientPortHandlePtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtConnectPort::ClientPortHandlePtr ( ) const
pure virtual

Getter for ClientPortHandlePtr.

Returns
The address pointed to by the the ClientPortHandlePtr parameter

◆ ClientPortHandlePtr() [2/2]

virtual void introvirt::windows::nt::NtConnectPort::ClientPortHandlePtr ( const guest_ptr< void > &  pClientPortHandle)
pure virtual

Setter for ClientPortHandlePtr.

Parameters
pClientPortHandleThe address to set for the ClientPortHandlePtr parameter

◆ ClientSharedMemoryPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtConnectPort::ClientSharedMemoryPtr ( ) const
pure virtual

Getter for ClientSharedMemoryPtr.

Returns
The address pointed to by the the ClientSharedMemoryPtr parameter

◆ ClientSharedMemoryPtr() [2/2]

virtual void introvirt::windows::nt::NtConnectPort::ClientSharedMemoryPtr ( const guest_ptr< void > &  pClientSharedMemory)
pure virtual

Setter for ClientSharedMemoryPtr.

Parameters
pClientSharedMemoryThe address to set for the ClientSharedMemoryPtr parameter

◆ ConnectionInfoLength() [1/2]

virtual uint32_t introvirt::windows::nt::NtConnectPort::ConnectionInfoLength ( ) const
pure virtual

◆ ConnectionInfoLength() [2/2]

virtual void introvirt::windows::nt::NtConnectPort::ConnectionInfoLength ( uint32_t  ConnectionInfoLength)
pure virtual

◆ ConnectionInfoLengthPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtConnectPort::ConnectionInfoLengthPtr ( ) const
pure virtual

Getter for ConnectionInfoLengthPtr.

Returns
The address pointed to by the the ConnectionInfoLengthPtr parameter

◆ ConnectionInfoLengthPtr() [2/2]

virtual void introvirt::windows::nt::NtConnectPort::ConnectionInfoLengthPtr ( const guest_ptr< void > &  pConnectionInfoLength)
pure virtual

Setter for ConnectionInfoLengthPtr.

Parameters
pConnectionInfoLengthThe address to set for the ConnectionInfoLengthPtr parameter

◆ ConnectionInfoPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtConnectPort::ConnectionInfoPtr ( ) const
pure virtual

Getter for ConnectionInfoPtr.

Returns
The address pointed to by the the ConnectionInfoPtr parameter

◆ ConnectionInfoPtr() [2/2]

virtual void introvirt::windows::nt::NtConnectPort::ConnectionInfoPtr ( const guest_ptr< void > &  pConnectionInfo)
pure virtual

Setter for ConnectionInfoPtr.

Parameters
pConnectionInfoThe address to set for the ConnectionInfoPtr parameter

◆ inject()

static NTSTATUS introvirt::windows::nt::NtConnectPort::inject ( uint64_t &  ClientPortHandle,
const UNICODE_STRING ServerPortName,
const guest_ptr< void > &  pSecurityQos,
const guest_ptr< void > &  pClientSharedMemory,
const guest_ptr< void > &  pServerSharedMemory,
uint32_t *  MaximumMessageLength,
const guest_ptr< void > &  pConnectionInfo,
const uint32_t *  ConnectionInfoLength 
)
static

◆ MaximumMessageLength() [1/2]

virtual uint32_t introvirt::windows::nt::NtConnectPort::MaximumMessageLength ( ) const
pure virtual

◆ MaximumMessageLength() [2/2]

virtual void introvirt::windows::nt::NtConnectPort::MaximumMessageLength ( uint32_t  MaximumMessageLength)
pure virtual

◆ MaximumMessageLengthPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtConnectPort::MaximumMessageLengthPtr ( ) const
pure virtual

Getter for MaximumMessageLengthPtr.

Returns
The address pointed to by the the MaximumMessageLengthPtr parameter

◆ MaximumMessageLengthPtr() [2/2]

virtual void introvirt::windows::nt::NtConnectPort::MaximumMessageLengthPtr ( const guest_ptr< void > &  pMaximumMessageLength)
pure virtual

Setter for MaximumMessageLengthPtr.

Parameters
pMaximumMessageLengthThe address to set for the MaximumMessageLengthPtr parameter

◆ SecurityQosPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtConnectPort::SecurityQosPtr ( ) const
pure virtual

Getter for SecurityQosPtr.

Returns
The address pointed to by the the SecurityQosPtr parameter

◆ SecurityQosPtr() [2/2]

virtual void introvirt::windows::nt::NtConnectPort::SecurityQosPtr ( const guest_ptr< void > &  pSecurityQos)
pure virtual

Setter for SecurityQosPtr.

Parameters
pSecurityQosThe address to set for the SecurityQosPtr parameter

◆ ServerPortName() [1/2]

virtual const UNICODE_STRING * introvirt::windows::nt::NtConnectPort::ServerPortName ( ) const
pure virtual

◆ ServerPortName() [2/2]

virtual UNICODE_STRING * introvirt::windows::nt::NtConnectPort::ServerPortName ( )
pure virtual

◆ ServerPortNamePtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtConnectPort::ServerPortNamePtr ( ) const
pure virtual

Getter for ServerPortNamePtr.

Returns
The address pointed to by the the ServerPortNamePtr parameter

◆ ServerPortNamePtr() [2/2]

virtual void introvirt::windows::nt::NtConnectPort::ServerPortNamePtr ( const guest_ptr< void > &  pServerPortName)
pure virtual

Setter for ServerPortNamePtr.

Parameters
pServerPortNameThe address to set for the ServerPortNamePtr parameter

◆ ServerSharedMemoryPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtConnectPort::ServerSharedMemoryPtr ( ) const
pure virtual

Getter for ServerSharedMemoryPtr.

Returns
The address pointed to by the the ServerSharedMemoryPtr parameter

◆ ServerSharedMemoryPtr() [2/2]

virtual void introvirt::windows::nt::NtConnectPort::ServerSharedMemoryPtr ( const guest_ptr< void > &  pServerSharedMemory)
pure virtual

Setter for ServerSharedMemoryPtr.

Parameters
pServerSharedMemoryThe address to set for the ServerSharedMemoryPtr parameter

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