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

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

#include <NtSetInformationThread.hh>

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

Public Member Functions

virtual uint64_t ThreadHandle () const =0
 Getter for ThreadHandle.
 
virtual THREAD_INFORMATION_CLASS ThreadInformationClass () const =0
 Getter for ThreadInformationClass.
 
virtual guest_ptr< void > ThreadInformationPtr () const =0
 Getter for ThreadInformationPtr.
 
virtual uint32_t ThreadInformationLength () const =0
 Getter for ThreadInformationLength.
 
virtual void ThreadHandle (uint64_t ThreadHandle)=0
 Setter for ThreadHandle.
 
virtual void ThreadInformationClass (THREAD_INFORMATION_CLASS ThreadInformationClass)=0
 Setter for ThreadInformationClass.
 
virtual void ThreadInformationPtr (const guest_ptr< void > &pThreadInformation)=0
 Setter for ThreadInformationPtr.
 
virtual void ThreadInformationLength (uint32_t ThreadInformationLength)=0
 Setter for ThreadInformationLength.
 
virtual const THREAD_INFORMATIONThreadInformation () const =0
 
virtual THREAD_INFORMATIONThreadInformation ()=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 ThreadHandle, THREAD_INFORMATION_CLASS ThreadInformationClass, const guest_ptr< void > &pThreadInformation, uint32_t ThreadInformationLength)
 

Detailed Description

Handler class for the NtSetInformationThread system call.

Member Function Documentation

◆ inject()

static NTSTATUS introvirt::windows::nt::NtSetInformationThread::inject ( uint64_t  ThreadHandle,
THREAD_INFORMATION_CLASS  ThreadInformationClass,
const guest_ptr< void > &  pThreadInformation,
uint32_t  ThreadInformationLength 
)
static

◆ ThreadHandle() [1/2]

virtual uint64_t introvirt::windows::nt::NtSetInformationThread::ThreadHandle ( ) const
pure virtual

Getter for ThreadHandle.

Returns
The value of the ThreadHandle parameter

◆ ThreadHandle() [2/2]

virtual void introvirt::windows::nt::NtSetInformationThread::ThreadHandle ( uint64_t  ThreadHandle)
pure virtual

Setter for ThreadHandle.

Parameters
ThreadHandleThe value to set for the ThreadHandle parameter

◆ ThreadInformation() [1/2]

virtual const THREAD_INFORMATION * introvirt::windows::nt::NtSetInformationThread::ThreadInformation ( ) const
pure virtual

◆ ThreadInformation() [2/2]

virtual THREAD_INFORMATION * introvirt::windows::nt::NtSetInformationThread::ThreadInformation ( )
pure virtual

◆ ThreadInformationClass() [1/2]

virtual THREAD_INFORMATION_CLASS introvirt::windows::nt::NtSetInformationThread::ThreadInformationClass ( ) const
pure virtual

Getter for ThreadInformationClass.

Returns
The value of the ThreadInformationClass parameter

◆ ThreadInformationClass() [2/2]

virtual void introvirt::windows::nt::NtSetInformationThread::ThreadInformationClass ( THREAD_INFORMATION_CLASS  ThreadInformationClass)
pure virtual

Setter for ThreadInformationClass.

Parameters
ThreadInformationClassThe value to set for the ThreadInformationClass parameter

◆ ThreadInformationLength() [1/2]

virtual uint32_t introvirt::windows::nt::NtSetInformationThread::ThreadInformationLength ( ) const
pure virtual

Getter for ThreadInformationLength.

Returns
The value of the ThreadInformationLength parameter

◆ ThreadInformationLength() [2/2]

virtual void introvirt::windows::nt::NtSetInformationThread::ThreadInformationLength ( uint32_t  ThreadInformationLength)
pure virtual

Setter for ThreadInformationLength.

Parameters
ThreadInformationLengthThe value to set for the ThreadInformationLength parameter

◆ ThreadInformationPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtSetInformationThread::ThreadInformationPtr ( ) const
pure virtual

Getter for ThreadInformationPtr.

Returns
The address pointed to by the the ThreadInformationPtr parameter

◆ ThreadInformationPtr() [2/2]

virtual void introvirt::windows::nt::NtSetInformationThread::ThreadInformationPtr ( const guest_ptr< void > &  pThreadInformation)
pure virtual

Setter for ThreadInformationPtr.

Parameters
pThreadInformationThe address to set for the ThreadInformationPtr parameter

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