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

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

#include <NtCreateThreadBase.hh>

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

Public Member Functions

virtual guest_ptr< void > ThreadHandlePtr () const =0
 Getter for ThreadHandlePtr.
 
virtual THREAD_ACCESS_MASK DesiredAccess () const =0
 Getter for DesiredAccess.
 
virtual guest_ptr< void > ObjectAttributesPtr () const =0
 Getter for ObjectAttributesPtr.
 
virtual uint64_t ProcessHandle () const =0
 Getter for ProcessHandle.
 
virtual void ThreadHandlePtr (const guest_ptr< void > &pThreadHandle)=0
 Setter for ThreadHandlePtr.
 
virtual void DesiredAccess (THREAD_ACCESS_MASK DesiredAccess)=0
 Setter for DesiredAccess.
 
virtual void ObjectAttributesPtr (const guest_ptr< void > &pObjectAttributes)=0
 Setter for ObjectAttributesPtr.
 
virtual void ProcessHandle (uint64_t ProcessHandle)=0
 Setter for ProcessHandle.
 
virtual uint64_t ThreadHandle () const =0
 
virtual void ThreadHandle (uint64_t ThreadHandle)=0
 
virtual const OBJECT_ATTRIBUTESObjectAttributes () const =0
 
virtual OBJECT_ATTRIBUTESObjectAttributes ()=0
 
virtual std::shared_ptr< THREADget_new_thread ()=0
 Get the newly created THREAD object.
 
virtual const std::shared_ptr< THREADget_new_thread () const =0
 Get the newly created THREAD object.
 
- 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.
 

Detailed Description

Handler class for the NtCreateThreadBase system call.

Member Function Documentation

◆ DesiredAccess() [1/2]

virtual THREAD_ACCESS_MASK introvirt::windows::nt::NtCreateThreadBase::DesiredAccess ( ) const
pure virtual

Getter for DesiredAccess.

Returns
The value of the DesiredAccess parameter

◆ DesiredAccess() [2/2]

virtual void introvirt::windows::nt::NtCreateThreadBase::DesiredAccess ( THREAD_ACCESS_MASK  DesiredAccess)
pure virtual

Setter for DesiredAccess.

Parameters
DesiredAccessThe value to set for the DesiredAccess parameter

◆ get_new_thread() [1/2]

virtual const std::shared_ptr< THREAD > introvirt::windows::nt::NtCreateThreadBase::get_new_thread ( ) const
pure virtual

Get the newly created THREAD object.

Returns
The newly created thread, or nullptr on error
Exceptions
InvalidMethodExceptionif the system call has not returned

◆ get_new_thread() [2/2]

virtual std::shared_ptr< THREAD > introvirt::windows::nt::NtCreateThreadBase::get_new_thread ( )
pure virtual

Get the newly created THREAD object.

Returns
The newly created thread, or nullptr on error
Exceptions
InvalidMethodExceptionif the system call has not returned

◆ ObjectAttributes() [1/2]

virtual const OBJECT_ATTRIBUTES * introvirt::windows::nt::NtCreateThreadBase::ObjectAttributes ( ) const
pure virtual

◆ ObjectAttributes() [2/2]

virtual OBJECT_ATTRIBUTES * introvirt::windows::nt::NtCreateThreadBase::ObjectAttributes ( )
pure virtual

◆ ObjectAttributesPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtCreateThreadBase::ObjectAttributesPtr ( ) const
pure virtual

Getter for ObjectAttributesPtr.

Returns
The address pointed to by the the ObjectAttributesPtr parameter

◆ ObjectAttributesPtr() [2/2]

virtual void introvirt::windows::nt::NtCreateThreadBase::ObjectAttributesPtr ( const guest_ptr< void > &  pObjectAttributes)
pure virtual

Setter for ObjectAttributesPtr.

Parameters
pObjectAttributesThe address to set for the ObjectAttributesPtr parameter

◆ ProcessHandle() [1/2]

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

Getter for ProcessHandle.

Returns
The value of the ProcessHandle parameter

◆ ProcessHandle() [2/2]

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

Setter for ProcessHandle.

Parameters
ProcessHandleThe value to set for the ProcessHandle parameter

◆ ThreadHandle() [1/2]

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

◆ ThreadHandle() [2/2]

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

◆ ThreadHandlePtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtCreateThreadBase::ThreadHandlePtr ( ) const
pure virtual

Getter for ThreadHandlePtr.

Returns
The address pointed to by the the ThreadHandlePtr parameter

◆ ThreadHandlePtr() [2/2]

virtual void introvirt::windows::nt::NtCreateThreadBase::ThreadHandlePtr ( const guest_ptr< void > &  pThreadHandle)
pure virtual

Setter for ThreadHandlePtr.

Parameters
pThreadHandleThe address to set for the ThreadHandlePtr parameter

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