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

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

#include <NtQuerySection.hh>

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

Public Member Functions

virtual uint64_t SectionHandle () const =0
 Getter for SectionHandle.
 
virtual SECTION_INFORMATION_CLASS SectionInformationClass () const =0
 Getter for SectionInformationClass.
 
virtual guest_ptr< void > SectionInformationBufferPtr () const =0
 Getter for SectionInformationBufferPtr.
 
virtual uint32_t SectionInformationLength () const =0
 Getter for SectionInformationLength.
 
virtual guest_ptr< void > ResultLengthPtr () const =0
 Getter for ResultLengthPtr.
 
virtual void SectionHandle (uint64_t SectionHandle)=0
 Setter for SectionHandle.
 
virtual void SectionInformationClass (SECTION_INFORMATION_CLASS SectionInformationClass)=0
 Setter for SectionInformationClass.
 
virtual void SectionInformationBufferPtr (const guest_ptr< void > &pSectionInformationBuffer)=0
 Setter for SectionInformationBufferPtr.
 
virtual void SectionInformationLength (uint32_t SectionInformationLength)=0
 Setter for SectionInformationLength.
 
virtual void ResultLengthPtr (const guest_ptr< void > &pResultLength)=0
 Setter for ResultLengthPtr.
 
virtual const SECTION_INFORMATIONSectionInformationBuffer () const =0
 
virtual SECTION_INFORMATIONSectionInformationBuffer ()=0
 
virtual uint32_t ResultLength () const =0
 
virtual void ResultLength (uint32_t ResultLength)=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 SectionHandle, SECTION_INFORMATION_CLASS SectionInformationClass, const guest_ptr< void > &pSectionInformationBuffer, uint32_t SectionInformationLength, const uint32_t *ResultLength)
 

Detailed Description

Handler class for the NtQuerySection system call.

Member Function Documentation

◆ inject()

static NTSTATUS introvirt::windows::nt::NtQuerySection::inject ( uint64_t  SectionHandle,
SECTION_INFORMATION_CLASS  SectionInformationClass,
const guest_ptr< void > &  pSectionInformationBuffer,
uint32_t  SectionInformationLength,
const uint32_t *  ResultLength 
)
static

◆ ResultLength() [1/2]

virtual uint32_t introvirt::windows::nt::NtQuerySection::ResultLength ( ) const
pure virtual

◆ ResultLength() [2/2]

virtual void introvirt::windows::nt::NtQuerySection::ResultLength ( uint32_t  ResultLength)
pure virtual

◆ ResultLengthPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtQuerySection::ResultLengthPtr ( ) const
pure virtual

Getter for ResultLengthPtr.

Returns
The address pointed to by the the ResultLengthPtr parameter

◆ ResultLengthPtr() [2/2]

virtual void introvirt::windows::nt::NtQuerySection::ResultLengthPtr ( const guest_ptr< void > &  pResultLength)
pure virtual

Setter for ResultLengthPtr.

Parameters
pResultLengthThe address to set for the ResultLengthPtr parameter

◆ SectionHandle() [1/2]

virtual uint64_t introvirt::windows::nt::NtQuerySection::SectionHandle ( ) const
pure virtual

Getter for SectionHandle.

Returns
The value of the SectionHandle parameter

◆ SectionHandle() [2/2]

virtual void introvirt::windows::nt::NtQuerySection::SectionHandle ( uint64_t  SectionHandle)
pure virtual

Setter for SectionHandle.

Parameters
SectionHandleThe value to set for the SectionHandle parameter

◆ SectionInformationBuffer() [1/2]

virtual const SECTION_INFORMATION * introvirt::windows::nt::NtQuerySection::SectionInformationBuffer ( ) const
pure virtual

◆ SectionInformationBuffer() [2/2]

virtual SECTION_INFORMATION * introvirt::windows::nt::NtQuerySection::SectionInformationBuffer ( )
pure virtual

◆ SectionInformationBufferPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtQuerySection::SectionInformationBufferPtr ( ) const
pure virtual

Getter for SectionInformationBufferPtr.

Returns
The address pointed to by the the SectionInformationBufferPtr parameter

◆ SectionInformationBufferPtr() [2/2]

virtual void introvirt::windows::nt::NtQuerySection::SectionInformationBufferPtr ( const guest_ptr< void > &  pSectionInformationBuffer)
pure virtual

Setter for SectionInformationBufferPtr.

Parameters
pSectionInformationBufferThe address to set for the SectionInformationBufferPtr parameter

◆ SectionInformationClass() [1/2]

virtual SECTION_INFORMATION_CLASS introvirt::windows::nt::NtQuerySection::SectionInformationClass ( ) const
pure virtual

Getter for SectionInformationClass.

Returns
The value of the SectionInformationClass parameter

◆ SectionInformationClass() [2/2]

virtual void introvirt::windows::nt::NtQuerySection::SectionInformationClass ( SECTION_INFORMATION_CLASS  SectionInformationClass)
pure virtual

Setter for SectionInformationClass.

Parameters
SectionInformationClassThe value to set for the SectionInformationClass parameter

◆ SectionInformationLength() [1/2]

virtual uint32_t introvirt::windows::nt::NtQuerySection::SectionInformationLength ( ) const
pure virtual

Getter for SectionInformationLength.

Returns
The value of the SectionInformationLength parameter

◆ SectionInformationLength() [2/2]

virtual void introvirt::windows::nt::NtQuerySection::SectionInformationLength ( uint32_t  SectionInformationLength)
pure virtual

Setter for SectionInformationLength.

Parameters
SectionInformationLengthThe value to set for the SectionInformationLength parameter

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