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

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

#include <NtSetInformationFile.hh>

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

Public Member Functions

virtual uint64_t FileHandle () const =0
 Getter for FileHandle.
 
virtual guest_ptr< void > IoStatusBlockPtr () const =0
 Getter for IoStatusBlockPtr.
 
virtual guest_ptr< void > FileInformationPtr () const =0
 Getter for FileInformationPtr.
 
virtual uint32_t FileInformationLength () const =0
 Getter for FileInformationLength.
 
virtual FILE_INFORMATION_CLASS FileInformationClass () const =0
 Getter for FileInformationClass.
 
virtual void FileHandle (uint64_t FileHandle)=0
 Setter for FileHandle.
 
virtual void IoStatusBlockPtr (const guest_ptr< void > &pIoStatusBlock)=0
 Setter for IoStatusBlockPtr.
 
virtual void FileInformationPtr (const guest_ptr< void > &pFileInformation)=0
 Setter for FileInformationPtr.
 
virtual void FileInformationLength (uint32_t FileInformationLength)=0
 Setter for FileInformationLength.
 
virtual void FileInformationClass (FILE_INFORMATION_CLASS FileInformationClass)=0
 Setter for FileInformationClass.
 
virtual const IO_STATUS_BLOCKIoStatusBlock () const =0
 
virtual IO_STATUS_BLOCKIoStatusBlock ()=0
 
virtual const FILE_INFORMATIONFileInformation () const =0
 
virtual FILE_INFORMATIONFileInformation ()=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.
 

Static Public Member Functions

static NTSTATUS inject (uint64_t FileHandle, const guest_ptr< void > &pIoStatusBlock, const guest_ptr< void > &pFileInformation, uint32_t FileInformationLength, FILE_INFORMATION_CLASS FileInformationClass)
 

Detailed Description

Handler class for the NtSetInformationFile system call.

Member Function Documentation

◆ FileHandle() [1/2]

virtual uint64_t introvirt::windows::nt::NtSetInformationFile::FileHandle ( ) const
pure virtual

Getter for FileHandle.

Returns
The value of the FileHandle parameter

◆ FileHandle() [2/2]

virtual void introvirt::windows::nt::NtSetInformationFile::FileHandle ( uint64_t  FileHandle)
pure virtual

Setter for FileHandle.

Parameters
FileHandleThe value to set for the FileHandle parameter

◆ FileInformation() [1/2]

virtual const FILE_INFORMATION * introvirt::windows::nt::NtSetInformationFile::FileInformation ( ) const
pure virtual

◆ FileInformation() [2/2]

virtual FILE_INFORMATION * introvirt::windows::nt::NtSetInformationFile::FileInformation ( )
pure virtual

◆ FileInformationClass() [1/2]

virtual FILE_INFORMATION_CLASS introvirt::windows::nt::NtSetInformationFile::FileInformationClass ( ) const
pure virtual

Getter for FileInformationClass.

Returns
The value of the FileInformationClass parameter

◆ FileInformationClass() [2/2]

virtual void introvirt::windows::nt::NtSetInformationFile::FileInformationClass ( FILE_INFORMATION_CLASS  FileInformationClass)
pure virtual

Setter for FileInformationClass.

Parameters
FileInformationClassThe value to set for the FileInformationClass parameter

◆ FileInformationLength() [1/2]

virtual uint32_t introvirt::windows::nt::NtSetInformationFile::FileInformationLength ( ) const
pure virtual

Getter for FileInformationLength.

Returns
The value of the FileInformationLength parameter

◆ FileInformationLength() [2/2]

virtual void introvirt::windows::nt::NtSetInformationFile::FileInformationLength ( uint32_t  FileInformationLength)
pure virtual

Setter for FileInformationLength.

Parameters
FileInformationLengthThe value to set for the FileInformationLength parameter

◆ FileInformationPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtSetInformationFile::FileInformationPtr ( ) const
pure virtual

Getter for FileInformationPtr.

Returns
The address pointed to by the the FileInformationPtr parameter

◆ FileInformationPtr() [2/2]

virtual void introvirt::windows::nt::NtSetInformationFile::FileInformationPtr ( const guest_ptr< void > &  pFileInformation)
pure virtual

Setter for FileInformationPtr.

Parameters
pFileInformationThe address to set for the FileInformationPtr parameter

◆ inject()

static NTSTATUS introvirt::windows::nt::NtSetInformationFile::inject ( uint64_t  FileHandle,
const guest_ptr< void > &  pIoStatusBlock,
const guest_ptr< void > &  pFileInformation,
uint32_t  FileInformationLength,
FILE_INFORMATION_CLASS  FileInformationClass 
)
static

◆ IoStatusBlock() [1/2]

virtual const IO_STATUS_BLOCK * introvirt::windows::nt::NtSetInformationFile::IoStatusBlock ( ) const
pure virtual

◆ IoStatusBlock() [2/2]

virtual IO_STATUS_BLOCK * introvirt::windows::nt::NtSetInformationFile::IoStatusBlock ( )
pure virtual

◆ IoStatusBlockPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtSetInformationFile::IoStatusBlockPtr ( ) const
pure virtual

Getter for IoStatusBlockPtr.

Returns
The address pointed to by the the IoStatusBlockPtr parameter

◆ IoStatusBlockPtr() [2/2]

virtual void introvirt::windows::nt::NtSetInformationFile::IoStatusBlockPtr ( const guest_ptr< void > &  pIoStatusBlock)
pure virtual

Setter for IoStatusBlockPtr.

Parameters
pIoStatusBlockThe address to set for the IoStatusBlockPtr parameter

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