Handler class for the NtTerminateProcess system call.
More...
#include <NtTerminateProcess.hh>
|
| virtual uint64_t | ProcessHandle () const =0 |
| | Getter for ProcessHandle.
|
| |
| virtual NTSTATUS | ExitStatus () const =0 |
| | Getter for ExitStatus.
|
| |
| virtual void | ProcessHandle (uint64_t ProcessHandle)=0 |
| | Setter for ProcessHandle.
|
| |
| virtual void | ExitStatus (NTSTATUS ExitStatus)=0 |
| | Setter for ExitStatus.
|
| |
| virtual uint64_t | target_pid () const =0 |
| |
| 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 NtTerminateProcess system call.
- Examples
- ivexec.cc, and vmcall_interface.cc.
◆ ExitStatus() [1/2]
| virtual NTSTATUS introvirt::windows::nt::NtTerminateProcess::ExitStatus |
( |
| ) |
const |
|
pure virtual |
Getter for ExitStatus.
- Returns
- The value of the ExitStatus parameter
- Examples
- ivexec.cc.
◆ ExitStatus() [2/2]
| virtual void introvirt::windows::nt::NtTerminateProcess::ExitStatus |
( |
NTSTATUS |
ExitStatus | ) |
|
|
pure virtual |
Setter for ExitStatus.
- Parameters
-
| ExitStatus | The value to set for the ExitStatus parameter |
◆ inject()
| static NTSTATUS introvirt::windows::nt::NtTerminateProcess::inject |
( |
uint64_t |
ProcessHandle, |
|
|
NTSTATUS |
ExitStatus |
|
) |
| |
|
static |
◆ ProcessHandle() [1/2]
| virtual uint64_t introvirt::windows::nt::NtTerminateProcess::ProcessHandle |
( |
| ) |
const |
|
pure virtual |
Getter for ProcessHandle.
- Returns
- The value of the ProcessHandle parameter
◆ ProcessHandle() [2/2]
| virtual void introvirt::windows::nt::NtTerminateProcess::ProcessHandle |
( |
uint64_t |
ProcessHandle | ) |
|
|
pure virtual |
Setter for ProcessHandle.
- Parameters
-
| ProcessHandle | The value to set for the ProcessHandle parameter |
◆ target_pid()
| virtual uint64_t introvirt::windows::nt::NtTerminateProcess::target_pid |
( |
| ) |
const |
|
pure virtual |
- Returns
- The TID of the target process
The documentation for this class was generated from the following file: