Base type for NT system calls.
More...
#include <NtSystemCall.hh>
|
| 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.
|
| |
Base type for NT system calls.
◆ result() [1/2]
| virtual NTSTATUS introvirt::windows::nt::NtSystemCall::result |
( |
| ) |
const |
|
pure virtual |
Get the result code.
NT system calls return an NTSTATUS code on completion
- Returns
- NTSTATUS
◆ result() [2/2]
| virtual void introvirt::windows::nt::NtSystemCall::result |
( |
NTSTATUS_CODE |
code | ) |
|
|
pure virtual |
Set the result code.
This can be used to maniuplate the value received by the guest userland software.
- Parameters
-
- Exceptions
-
The documentation for this class was generated from the following file:
- /home/runner/work/IntroVirt/IntroVirt/include/introvirt/windows/kernel/nt/syscall/NtSystemCall.hh