|
libintrovirt v0.57.4
IntroVirt introspection library
|
Interface for system call events. More...
#include <SystemCallEvent.hh>

Public Member Functions | |
| virtual FastCallType | instruction () const =0 |
| Get the type of fast system call instruction. | |
| virtual SystemCall * | handler ()=0 |
| Gets the associated system call handler with this event. | |
| virtual const SystemCall * | handler () const =0 |
| Gets the associated system call handler with this event. | |
| virtual std::string | name () const =0 |
| Get a string represenatation of the system call name. | |
| virtual uint64_t | raw_index () const =0 |
| Get the system call number executed. | |
| virtual void | hook_return (bool enabled)=0 |
| Instruct that the system call's return should be hooked. | |
| virtual bool | hook_return () const =0 |
| Check if the return is set to be hooked. | |
| virtual uint64_t | return_address () const =0 |
| Get the address where the system call will return. | |
| virtual SystemCallEventImpl & | impl ()=0 |
| Used internally. | |
| virtual | ~SystemCallEvent ()=default |
| Destroy the instance. | |
Protected Member Functions | |
| SystemCallEvent ()=default | |
Interface for system call events.
Methods related to fast system call events. This only applies to SYSCALL/SYSRET and SYSENTER/SYSEXIT.
Software interrupt based system calls are not yet handled.
|
virtualdefault |
Destroy the instance.
|
protecteddefault |
|
pure virtual |
Gets the associated system call handler with this event.
This is set by the OS library (i.e., libwintrovirt). It can return nullptr if the underlying system call is not supported.
Implemented in introvirt::windows::WindowsSystemCallEvent.
|
pure virtual |
Gets the associated system call handler with this event.
This is set by the OS library (i.e., libwintrovirt). It can return nullptr if the underlying system call is not supported.
Implemented in introvirt::windows::WindowsSystemCallEvent.
|
pure virtual |
Check if the return is set to be hooked.
|
pure virtual |
Instruct that the system call's return should be hooked.
| enabled | If true, the return of this event will be hooked |
|
pure virtual |
Used internally.
|
pure virtual |
Get the type of fast system call instruction.
|
pure virtual |
Get a string represenatation of the system call name.
|
pure virtual |
Get the system call number executed.
|
pure virtual |
Get the address where the system call will return.