|
libintrovirt v0.57.4
IntroVirt introspection library
|
Handler class for the NtOpenFile system call. More...
#include <NtOpenFile.hh>


Public Member Functions | |
| virtual guest_ptr< void > | FileHandlePtr () const =0 |
| Getter for FileHandlePtr. | |
| virtual FILE_ACCESS_MASK | DesiredAccess () const =0 |
| Getter for DesiredAccess. | |
| virtual guest_ptr< void > | ObjectAttributesPtr () const =0 |
| Getter for ObjectAttributesPtr. | |
| virtual guest_ptr< void > | IoStatusBlockPtr () const =0 |
| Getter for IoStatusBlockPtr. | |
| virtual FILE_SHARE_ACCESS | ShareAccess () const =0 |
| Getter for ShareAccess. | |
| virtual FileOpenOptions | OpenOptions () const =0 |
| Getter for OpenOptions. | |
| virtual void | FileHandlePtr (const guest_ptr< void > &pFileHandle)=0 |
| Setter for FileHandlePtr. | |
| virtual void | DesiredAccess (FILE_ACCESS_MASK DesiredAccess)=0 |
| Setter for DesiredAccess. | |
| virtual void | ObjectAttributesPtr (const guest_ptr< void > &pObjectAttributes)=0 |
| Setter for ObjectAttributesPtr. | |
| virtual void | IoStatusBlockPtr (const guest_ptr< void > &pIoStatusBlock)=0 |
| Setter for IoStatusBlockPtr. | |
| virtual void | ShareAccess (FILE_SHARE_ACCESS ShareAccess)=0 |
| Setter for ShareAccess. | |
| virtual void | OpenOptions (FileOpenOptions OpenOptions)=0 |
| Setter for OpenOptions. | |
| virtual uint64_t | FileHandle () const =0 |
| virtual void | FileHandle (uint64_t FileHandle)=0 |
| virtual const OBJECT_ATTRIBUTES * | ObjectAttributes () const =0 |
| virtual OBJECT_ATTRIBUTES * | ObjectAttributes ()=0 |
| virtual const IO_STATUS_BLOCK * | IoStatusBlock () const =0 |
| virtual IO_STATUS_BLOCK * | IoStatusBlock ()=0 |
| virtual IO_STATUS_RESULT | IoStatusResult () const =0 |
| virtual void | IoStatusResult (IO_STATUS_RESULT IoStatusResult)=0 |
| Sets the IoStatusResult field in the IoStatusBlock. | |
Public Member Functions inherited from introvirt::windows::nt::NtSystemCall | |
| virtual NTSTATUS | result () const =0 |
| Get the result code. | |
| virtual void | result (NTSTATUS_CODE code)=0 |
| Set the result code. | |
Public Member Functions inherited from introvirt::windows::WindowsSystemCall | |
| virtual SystemCallIndex | index () const =0 |
| Get the system call number. | |
Public Member Functions inherited from introvirt::SystemCall | |
| 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. | |
Static Public Member Functions | |
| static NTSTATUS | inject (uint64_t &FileHandle, FILE_ACCESS_MASK DesiredAccess, const guest_ptr< void > &pObjectAttributes, const guest_ptr< void > &pIoStatusBlock, FILE_SHARE_ACCESS ShareAccess, FileOpenOptions OpenOptions) |
Handler class for the NtOpenFile system call.
|
pure virtual |
Getter for DesiredAccess.
|
pure virtual |
Setter for DesiredAccess.
| DesiredAccess | The value to set for the DesiredAccess parameter |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Getter for FileHandlePtr.
|
pure virtual |
Setter for FileHandlePtr.
| pFileHandle | The address to set for the FileHandlePtr parameter |
|
static |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Getter for IoStatusBlockPtr.
|
pure virtual |
Setter for IoStatusBlockPtr.
| pIoStatusBlock | The address to set for the IoStatusBlockPtr parameter |
|
pure virtual |
|
pure virtual |
Sets the IoStatusResult field in the IoStatusBlock.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Getter for ObjectAttributesPtr.
|
pure virtual |
Setter for ObjectAttributesPtr.
| pObjectAttributes | The address to set for the ObjectAttributesPtr parameter |
|
pure virtual |
Getter for OpenOptions.
|
pure virtual |
Setter for OpenOptions.
| OpenOptions | The value to set for the OpenOptions parameter |
|
pure virtual |
Getter for ShareAccess.
|
pure virtual |
Setter for ShareAccess.
| ShareAccess | The value to set for the ShareAccess parameter |