Handler class for the NtSetContextThread system call.
More...
#include <NtSetContextThread.hh>
|
| virtual uint64_t | ThreadHandle () const =0 |
| | Getter for ThreadHandle.
|
| |
| virtual guest_ptr< void > | ContextPtr () const =0 |
| | Getter for ContextPtr.
|
| |
| virtual void | ThreadHandle (uint64_t ThreadHandle)=0 |
| | Setter for ThreadHandle.
|
| |
| virtual void | ContextPtr (const guest_ptr< void > &pContext)=0 |
| | Setter for ContextPtr.
|
| |
| virtual NTSTATUS | result () const =0 |
| | Get the result code.
|
| |
| virtual void | result (NTSTATUS_CODE code)=0 |
| | Set the result code.
|
| |
| virtual SystemCallIndex | index () const =0 |
| | Get the system call number.
|
| |
| 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.
|
| |
Handler class for the NtSetContextThread system call.
◆ ContextPtr() [1/2]
| virtual guest_ptr< void > introvirt::windows::nt::NtSetContextThread::ContextPtr |
( |
| ) |
const |
|
pure virtual |
Getter for ContextPtr.
- Returns
- The address pointed to by the the ContextPtr parameter
◆ ContextPtr() [2/2]
| virtual void introvirt::windows::nt::NtSetContextThread::ContextPtr |
( |
const guest_ptr< void > & |
pContext | ) |
|
|
pure virtual |
Setter for ContextPtr.
- Parameters
-
| pContext | The address to set for the ContextPtr parameter |
◆ inject()
| static NTSTATUS introvirt::windows::nt::NtSetContextThread::inject |
( |
uint64_t |
ThreadHandle, |
|
|
const guest_ptr< void > & |
pContext |
|
) |
| |
|
static |
◆ ThreadHandle() [1/2]
| virtual uint64_t introvirt::windows::nt::NtSetContextThread::ThreadHandle |
( |
| ) |
const |
|
pure virtual |
Getter for ThreadHandle.
- Returns
- The value of the ThreadHandle parameter
◆ ThreadHandle() [2/2]
| virtual void introvirt::windows::nt::NtSetContextThread::ThreadHandle |
( |
uint64_t |
ThreadHandle | ) |
|
|
pure virtual |
Setter for ThreadHandle.
- Parameters
-
| ThreadHandle | The value to set for the ThreadHandle parameter |
The documentation for this class was generated from the following file: