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

An abstract class reprseneting a more specific key information buffer. More...

#include <KEY_INFORMATION.hh>

Inheritance diagram for introvirt::windows::nt::KEY_INFORMATION:

Public Member Functions

virtual KEY_INFORMATION_CLASS KeyInformationClass () const =0
 Get the type of key information held in the buffer.
 
virtual guest_ptr< void > ptr () const =0
 Get the address that the buffer is at.
 
virtual uint32_t buffer_size () const =0
 Get the size of the buffer.
 
virtual void write (std::ostream &os, const std::string &linePrefix="") const =0
 Write a description to the ostream.
 
virtual Json::Value json () const =0
 Return the file system information class as a JSON representation.
 
virtual ~KEY_INFORMATION ()=default
 

Static Public Member Functions

static std::unique_ptr< KEY_INFORMATIONmake_unique (const NtKernel &kernel, KEY_INFORMATION_CLASS information_class, const guest_ptr< void > &ptr, uint32_t buffer_size)
 Create a KEY_VALUE_INFORMATION parser instance.
 

Detailed Description

An abstract class reprseneting a more specific key information buffer.

Constructor & Destructor Documentation

◆ ~KEY_INFORMATION()

virtual introvirt::windows::nt::KEY_INFORMATION::~KEY_INFORMATION ( )
virtualdefault

Member Function Documentation

◆ buffer_size()

virtual uint32_t introvirt::windows::nt::KEY_INFORMATION::buffer_size ( ) const
pure virtual

Get the size of the buffer.

Returns
uint32_t

◆ json()

virtual Json::Value introvirt::windows::nt::KEY_INFORMATION::json ( ) const
pure virtual

Return the file system information class as a JSON representation.

Returns
Json::Value

◆ KeyInformationClass()

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

Get the type of key information held in the buffer.

Returns
KEY_INFORMATION_CLASS

◆ make_unique()

static std::unique_ptr< KEY_INFORMATION > introvirt::windows::nt::KEY_INFORMATION::make_unique ( const NtKernel kernel,
KEY_INFORMATION_CLASS  information_class,
const guest_ptr< void > &  ptr,
uint32_t  buffer_size 
)
static

Create a KEY_VALUE_INFORMATION parser instance.

Parameters
kernelThe kernel of the guest
information_classThe type of information contained in the buffer
ptrThe address of the information in the guest
buffer_sizeThe size of the information buffer

◆ ptr()

virtual guest_ptr< void > introvirt::windows::nt::KEY_INFORMATION::ptr ( ) const
pure virtual

Get the address that the buffer is at.

Returns
guest_ptr<void>

◆ write()

virtual void introvirt::windows::nt::KEY_INFORMATION::write ( std::ostream &  os,
const std::string &  linePrefix = "" 
) const
pure virtual

Write a description to the ostream.

Parameters
osThe output stream to write to
linePrefixThe prefix written before each line

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