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

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

#include <NtSetInformationProcess.hh>

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

Public Member Functions

virtual uint64_t ProcessHandle () const =0
 Getter for ProcessHandle.
 
virtual PROCESS_INFORMATION_CLASS ProcessInformationClass () const =0
 Getter for ProcessInformationClass.
 
virtual guest_ptr< void > ProcessInformationPtr () const =0
 Getter for ProcessInformationPtr.
 
virtual uint32_t ProcessInformationLength () const =0
 Getter for ProcessInformationLength.
 
virtual void ProcessHandle (uint64_t ProcessHandle)=0
 Setter for ProcessHandle.
 
virtual void ProcessInformationClass (PROCESS_INFORMATION_CLASS ProcessInformationClass)=0
 Setter for ProcessInformationClass.
 
virtual void ProcessInformationPtr (const guest_ptr< void > &pProcessInformation)=0
 Setter for ProcessInformationPtr.
 
virtual void ProcessInformationLength (uint32_t ProcessInformationLength)=0
 Setter for ProcessInformationLength.
 
virtual const PROCESS_INFORMATIONProcessInformation () const =0
 
virtual PROCESS_INFORMATIONProcessInformation ()=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 ProcessHandle, PROCESS_INFORMATION_CLASS ProcessInformationClass, const guest_ptr< void > &pProcessInformation, uint32_t ProcessInformationLength)
 

Detailed Description

Handler class for the NtSetInformationProcess system call.

Member Function Documentation

◆ inject()

static NTSTATUS introvirt::windows::nt::NtSetInformationProcess::inject ( uint64_t  ProcessHandle,
PROCESS_INFORMATION_CLASS  ProcessInformationClass,
const guest_ptr< void > &  pProcessInformation,
uint32_t  ProcessInformationLength 
)
static

◆ ProcessHandle() [1/2]

virtual uint64_t introvirt::windows::nt::NtSetInformationProcess::ProcessHandle ( ) const
pure virtual

Getter for ProcessHandle.

Returns
The value of the ProcessHandle parameter

◆ ProcessHandle() [2/2]

virtual void introvirt::windows::nt::NtSetInformationProcess::ProcessHandle ( uint64_t  ProcessHandle)
pure virtual

Setter for ProcessHandle.

Parameters
ProcessHandleThe value to set for the ProcessHandle parameter

◆ ProcessInformation() [1/2]

virtual const PROCESS_INFORMATION * introvirt::windows::nt::NtSetInformationProcess::ProcessInformation ( ) const
pure virtual

◆ ProcessInformation() [2/2]

virtual PROCESS_INFORMATION * introvirt::windows::nt::NtSetInformationProcess::ProcessInformation ( )
pure virtual

◆ ProcessInformationClass() [1/2]

virtual PROCESS_INFORMATION_CLASS introvirt::windows::nt::NtSetInformationProcess::ProcessInformationClass ( ) const
pure virtual

Getter for ProcessInformationClass.

Returns
The value of the ProcessInformationClass parameter

◆ ProcessInformationClass() [2/2]

virtual void introvirt::windows::nt::NtSetInformationProcess::ProcessInformationClass ( PROCESS_INFORMATION_CLASS  ProcessInformationClass)
pure virtual

Setter for ProcessInformationClass.

Parameters
ProcessInformationClassThe value to set for the ProcessInformationClass parameter

◆ ProcessInformationLength() [1/2]

virtual uint32_t introvirt::windows::nt::NtSetInformationProcess::ProcessInformationLength ( ) const
pure virtual

Getter for ProcessInformationLength.

Returns
The value of the ProcessInformationLength parameter

◆ ProcessInformationLength() [2/2]

virtual void introvirt::windows::nt::NtSetInformationProcess::ProcessInformationLength ( uint32_t  ProcessInformationLength)
pure virtual

Setter for ProcessInformationLength.

Parameters
ProcessInformationLengthThe value to set for the ProcessInformationLength parameter

◆ ProcessInformationPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtSetInformationProcess::ProcessInformationPtr ( ) const
pure virtual

Getter for ProcessInformationPtr.

Returns
The address pointed to by the the ProcessInformationPtr parameter

◆ ProcessInformationPtr() [2/2]

virtual void introvirt::windows::nt::NtSetInformationProcess::ProcessInformationPtr ( const guest_ptr< void > &  pProcessInformation)
pure virtual

Setter for ProcessInformationPtr.

Parameters
pProcessInformationThe address to set for the ProcessInformationPtr parameter

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