36class SystemCallEventImpl;
73 virtual std::string
name()
const = 0;
106 virtual SystemCallEventImpl&
impl() = 0;
Interface for system call events.
Definition SystemCallEvent.hh:46
virtual uint64_t raw_index() const =0
Get the system call number executed.
SystemCallEvent()=default
virtual SystemCallEventImpl & impl()=0
Used internally.
virtual SystemCall * handler()=0
Gets the associated system call handler with this event.
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 ~SystemCallEvent()=default
Destroy the instance.
virtual const SystemCall * handler() const =0
Gets the associated system call handler with this event.
virtual FastCallType instruction() const =0
Get the type of fast system call instruction.
virtual std::string name() const =0
Get a string represenatation of the system call name.
virtual void hook_return(bool enabled)=0
Instruct that the system call's return should be hooked.
Definition SystemCall.hh:31
Core IntroVirt classes.
Definition Cr0.hh:20
const std::string & to_string(OS)
FastCallType
Enum class describing the type of fast system call.
Definition SystemCallEvent.hh:28
std::ostream & operator<<(std::ostream &, OS)