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

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

#include <NtCreatePort.hh>

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

Public Member Functions

virtual guest_ptr< void > PortHandlePtr () const =0
 Getter for PortHandlePtr.
 
virtual guest_ptr< void > ObjectAttributesPtr () const =0
 Getter for ObjectAttributesPtr.
 
virtual uint32_t MaxConnectionInfoLength () const =0
 Getter for MaxConnectionInfoLength.
 
virtual uint32_t MaxMessageLength () const =0
 Getter for MaxMessageLength.
 
virtual uint32_t MaxPoolUsage () const =0
 Getter for MaxPoolUsage.
 
virtual void PortHandlePtr (const guest_ptr< void > &pPortHandle)=0
 Setter for PortHandlePtr.
 
virtual void ObjectAttributesPtr (const guest_ptr< void > &pObjectAttributes)=0
 Setter for ObjectAttributesPtr.
 
virtual void MaxConnectionInfoLength (uint32_t MaxConnectionInfoLength)=0
 Setter for MaxConnectionInfoLength.
 
virtual void MaxMessageLength (uint32_t MaxMessageLength)=0
 Setter for MaxMessageLength.
 
virtual void MaxPoolUsage (uint32_t MaxPoolUsage)=0
 Setter for MaxPoolUsage.
 
virtual uint64_t PortHandle () const =0
 
virtual void PortHandle (uint64_t PortHandle)=0
 
virtual const OBJECT_ATTRIBUTESObjectAttributes () const =0
 
virtual OBJECT_ATTRIBUTESObjectAttributes ()=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 guest_ptr< void > &pObjectAttributes, uint32_t MaxConnectionInfoLength, uint32_t MaxMessageLength, uint32_t MaxPoolUsage)
 

Detailed Description

Handler class for the NtCreatePort system call.

Member Function Documentation

◆ inject()

static NTSTATUS introvirt::windows::nt::NtCreatePort::inject ( uint64_t &  PortHandle,
const guest_ptr< void > &  pObjectAttributes,
uint32_t  MaxConnectionInfoLength,
uint32_t  MaxMessageLength,
uint32_t  MaxPoolUsage 
)
static

◆ MaxConnectionInfoLength() [1/2]

virtual uint32_t introvirt::windows::nt::NtCreatePort::MaxConnectionInfoLength ( ) const
pure virtual

Getter for MaxConnectionInfoLength.

Returns
The value of the MaxConnectionInfoLength parameter

◆ MaxConnectionInfoLength() [2/2]

virtual void introvirt::windows::nt::NtCreatePort::MaxConnectionInfoLength ( uint32_t  MaxConnectionInfoLength)
pure virtual

Setter for MaxConnectionInfoLength.

Parameters
MaxConnectionInfoLengthThe value to set for the MaxConnectionInfoLength parameter

◆ MaxMessageLength() [1/2]

virtual uint32_t introvirt::windows::nt::NtCreatePort::MaxMessageLength ( ) const
pure virtual

Getter for MaxMessageLength.

Returns
The value of the MaxMessageLength parameter

◆ MaxMessageLength() [2/2]

virtual void introvirt::windows::nt::NtCreatePort::MaxMessageLength ( uint32_t  MaxMessageLength)
pure virtual

Setter for MaxMessageLength.

Parameters
MaxMessageLengthThe value to set for the MaxMessageLength parameter

◆ MaxPoolUsage() [1/2]

virtual uint32_t introvirt::windows::nt::NtCreatePort::MaxPoolUsage ( ) const
pure virtual

Getter for MaxPoolUsage.

Returns
The value of the MaxPoolUsage parameter

◆ MaxPoolUsage() [2/2]

virtual void introvirt::windows::nt::NtCreatePort::MaxPoolUsage ( uint32_t  MaxPoolUsage)
pure virtual

Setter for MaxPoolUsage.

Parameters
MaxPoolUsageThe value to set for the MaxPoolUsage parameter

◆ ObjectAttributes() [1/2]

virtual const OBJECT_ATTRIBUTES * introvirt::windows::nt::NtCreatePort::ObjectAttributes ( ) const
pure virtual

◆ ObjectAttributes() [2/2]

virtual OBJECT_ATTRIBUTES * introvirt::windows::nt::NtCreatePort::ObjectAttributes ( )
pure virtual

◆ ObjectAttributesPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtCreatePort::ObjectAttributesPtr ( ) const
pure virtual

Getter for ObjectAttributesPtr.

Returns
The address pointed to by the the ObjectAttributesPtr parameter

◆ ObjectAttributesPtr() [2/2]

virtual void introvirt::windows::nt::NtCreatePort::ObjectAttributesPtr ( const guest_ptr< void > &  pObjectAttributes)
pure virtual

Setter for ObjectAttributesPtr.

Parameters
pObjectAttributesThe address to set for the ObjectAttributesPtr parameter

◆ PortHandle() [1/2]

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

◆ PortHandle() [2/2]

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

◆ PortHandlePtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtCreatePort::PortHandlePtr ( ) const
pure virtual

Getter for PortHandlePtr.

Returns
The address pointed to by the the PortHandlePtr parameter

◆ PortHandlePtr() [2/2]

virtual void introvirt::windows::nt::NtCreatePort::PortHandlePtr ( const guest_ptr< void > &  pPortHandle)
pure virtual

Setter for PortHandlePtr.

Parameters
pPortHandleThe address to set for the PortHandlePtr parameter

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