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

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

#include <NtQueryKey.hh>

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

Public Member Functions

virtual uint64_t KeyHandle () const =0
 Getter for KeyHandle.
 
virtual KEY_INFORMATION_CLASS KeyInformationClass () const =0
 Getter for KeyInformationClass.
 
virtual guest_ptr< void > KeyInformationPtr () const =0
 Getter for KeyInformationPtr.
 
virtual uint32_t KeyInformationLength () const =0
 Getter for KeyInformationLength.
 
virtual guest_ptr< void > ResultLengthPtr () const =0
 Getter for ResultLengthPtr.
 
virtual void KeyHandle (uint64_t KeyHandle)=0
 Setter for KeyHandle.
 
virtual void KeyInformationClass (KEY_INFORMATION_CLASS KeyInformationClass)=0
 Setter for KeyInformationClass.
 
virtual void KeyInformationPtr (const guest_ptr< void > &pKeyInformation)=0
 Setter for KeyInformationPtr.
 
virtual void KeyInformationLength (uint32_t KeyInformationLength)=0
 Setter for KeyInformationLength.
 
virtual void ResultLengthPtr (const guest_ptr< void > &pResultLength)=0
 Setter for ResultLengthPtr.
 
virtual const KEY_INFORMATIONKeyInformation () const =0
 
virtual KEY_INFORMATIONKeyInformation ()=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 KeyHandle, KEY_INFORMATION_CLASS KeyInformationClass, const guest_ptr< void > &pKeyInformation, uint32_t KeyInformationLength, uint32_t &ResultLength)
 

Detailed Description

Handler class for the NtQueryKey system call.

Member Function Documentation

◆ inject()

static NTSTATUS introvirt::windows::nt::NtQueryKey::inject ( uint64_t  KeyHandle,
KEY_INFORMATION_CLASS  KeyInformationClass,
const guest_ptr< void > &  pKeyInformation,
uint32_t  KeyInformationLength,
uint32_t &  ResultLength 
)
static

◆ KeyHandle() [1/2]

virtual uint64_t introvirt::windows::nt::NtQueryKey::KeyHandle ( ) const
pure virtual

Getter for KeyHandle.

Returns
The value of the KeyHandle parameter

◆ KeyHandle() [2/2]

virtual void introvirt::windows::nt::NtQueryKey::KeyHandle ( uint64_t  KeyHandle)
pure virtual

Setter for KeyHandle.

Parameters
KeyHandleThe value to set for the KeyHandle parameter

◆ KeyInformation() [1/2]

virtual const KEY_INFORMATION * introvirt::windows::nt::NtQueryKey::KeyInformation ( ) const
pure virtual

◆ KeyInformation() [2/2]

virtual KEY_INFORMATION * introvirt::windows::nt::NtQueryKey::KeyInformation ( )
pure virtual

◆ KeyInformationClass() [1/2]

virtual KEY_INFORMATION_CLASS introvirt::windows::nt::NtQueryKey::KeyInformationClass ( ) const
pure virtual

Getter for KeyInformationClass.

Returns
The value of the KeyInformationClass parameter

◆ KeyInformationClass() [2/2]

virtual void introvirt::windows::nt::NtQueryKey::KeyInformationClass ( KEY_INFORMATION_CLASS  KeyInformationClass)
pure virtual

Setter for KeyInformationClass.

Parameters
KeyInformationClassThe value to set for the KeyInformationClass parameter

◆ KeyInformationLength() [1/2]

virtual uint32_t introvirt::windows::nt::NtQueryKey::KeyInformationLength ( ) const
pure virtual

Getter for KeyInformationLength.

Returns
The value of the KeyInformationLength parameter

◆ KeyInformationLength() [2/2]

virtual void introvirt::windows::nt::NtQueryKey::KeyInformationLength ( uint32_t  KeyInformationLength)
pure virtual

Setter for KeyInformationLength.

Parameters
KeyInformationLengthThe value to set for the KeyInformationLength parameter

◆ KeyInformationPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtQueryKey::KeyInformationPtr ( ) const
pure virtual

Getter for KeyInformationPtr.

Returns
The address pointed to by the the KeyInformationPtr parameter

◆ KeyInformationPtr() [2/2]

virtual void introvirt::windows::nt::NtQueryKey::KeyInformationPtr ( const guest_ptr< void > &  pKeyInformation)
pure virtual

Setter for KeyInformationPtr.

Parameters
pKeyInformationThe address to set for the KeyInformationPtr parameter

◆ ResultLength() [1/2]

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

◆ ResultLength() [2/2]

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

◆ ResultLengthPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtQueryKey::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::NtQueryKey::ResultLengthPtr ( const guest_ptr< void > &  pResultLength)
pure virtual

Setter for ResultLengthPtr.

Parameters
pResultLengthThe address to set for the ResultLengthPtr parameter

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