libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
introvirt::windows::nt::NtReadFile Class Reference

Handler class for the NtReadFile system call. More...

#include <NtReadFile.hh>

Inheritance diagram for introvirt::windows::nt::NtReadFile:
Collaboration diagram for introvirt::windows::nt::NtReadFile:

Static Public Member Functions

static NTSTATUS inject (uint64_t FileHandle, uint64_t Event, const guest_ptr< void > &pApcRoutine, const guest_ptr< void > &pApcContext, const guest_ptr< void > &pIoStatusBlock, const guest_ptr< void > &pBuffer, uint32_t Length, const int64_t *ByteOffset, const uint32_t *Key)
 

Additional Inherited Members

- Public Member Functions inherited from introvirt::windows::nt::NtReadWriteFile
virtual uint64_t FileHandle () const =0
 Getter for FileHandle.
 
virtual uint64_t Event () const =0
 Getter for Event.
 
virtual guest_ptr< void > ApcRoutinePtr () const =0
 Getter for ApcRoutinePtr.
 
virtual guest_ptr< void > ApcContextPtr () const =0
 Getter for ApcContextPtr.
 
virtual guest_ptr< void > IoStatusBlockPtr () const =0
 Getter for IoStatusBlockPtr.
 
virtual guest_ptr< void > BufferPtr () const =0
 Getter for BufferPtr.
 
virtual uint32_t Length () const =0
 Getter for Length.
 
virtual guest_ptr< void > ByteOffsetPtr () const =0
 Getter for ByteOffsetPtr.
 
virtual guest_ptr< void > KeyPtr () const =0
 Getter for KeyPtr.
 
virtual void FileHandle (uint64_t FileHandle)=0
 Setter for FileHandle.
 
virtual void Event (uint64_t Event)=0
 Setter for Event.
 
virtual void ApcRoutinePtr (const guest_ptr< void > &pApcRoutine)=0
 Setter for ApcRoutinePtr.
 
virtual void ApcContextPtr (const guest_ptr< void > &pApcContext)=0
 Setter for ApcContextPtr.
 
virtual void IoStatusBlockPtr (const guest_ptr< void > &pIoStatusBlock)=0
 Setter for IoStatusBlockPtr.
 
virtual void BufferPtr (const guest_ptr< void > &pBuffer)=0
 Setter for BufferPtr.
 
virtual void Length (uint32_t Length)=0
 Setter for Length.
 
virtual void ByteOffsetPtr (const guest_ptr< void > &pByteOffset)=0
 Setter for ByteOffsetPtr.
 
virtual void KeyPtr (const guest_ptr< void > &pKey)=0
 Setter for KeyPtr.
 
virtual const IO_STATUS_BLOCKIoStatusBlock () const =0
 
virtual IO_STATUS_BLOCKIoStatusBlock ()=0
 
virtual int64_t ByteOffset () const =0
 
virtual void ByteOffset (int64_t ByteOffset)=0
 
virtual uint32_t Key () const =0
 
virtual void Key (uint32_t Key)=0
 
- 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.
 

Detailed Description

Handler class for the NtReadFile system call.

Member Function Documentation

◆ inject()

static NTSTATUS introvirt::windows::nt::NtReadFile::inject ( uint64_t  FileHandle,
uint64_t  Event,
const guest_ptr< void > &  pApcRoutine,
const guest_ptr< void > &  pApcContext,
const guest_ptr< void > &  pIoStatusBlock,
const guest_ptr< void > &  pBuffer,
uint32_t  Length,
const int64_t *  ByteOffset,
const uint32_t *  Key 
)
static

The documentation for this class was generated from the following file: