|
libintrovirt v0.57.4
IntroVirt introspection library
|
#include <SystemCall.hh>

Public Member Functions | |
| 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. | |
Abstract base class for a system call handler
|
virtualdefault |
Destroy the instance.
|
pure virtual |
Retrieve arbitrary data stored with the SystemCall.
This can be used to retrieve arbitrary stored data.
| key | The name of the value to retrieve |
This is the const version.
|
pure virtual |
Retrieve arbitrary data stored with the SystemCall.
This can be used to retrieve arbitrary stored data.
| key | The name of the value to retrieve |
|
pure virtual |
Store arbitrary data with the SystemCall.
This can be useful for storing data when handling the system call, and retreiving it when the call returns.
| key | The name of the value to store |
| value | The data to store |
|
pure virtual |
Store arbitrary data with the SystemCall.
This can be useful for storing data when handling the system call, and retreiving it when the call returns.
| key | The name of the value to store |
| value | The data to store |
|
pure virtual |
Handle a system call return event.
| event | The system call return event |
|
pure virtual |
|
pure virtual |
Get the name of the system call.
|
pure virtual |
Check if this system call is supported by a more specific handler.
|
pure virtual |
|
pure virtual |
Write a human-readable description of this system call.
| os | The stream to write to |