libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
NtReadWriteFile.hh
Go to the documentation of this file.
1/*
2 * Copyright 2021 Assured Information Security, Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17/* This file is automatically generated. Do not edit. */
18#pragma once
19
20#include "NtSystemCall.hh"
22
23#include <memory>
24
25namespace introvirt {
26namespace windows {
27namespace nt {
28
33 public:
34 /* Direct parameter getters */
35
41 virtual uint64_t FileHandle() const = 0;
47 virtual uint64_t Event() const = 0;
53 virtual guest_ptr<void> ApcRoutinePtr() const = 0;
59 virtual guest_ptr<void> ApcContextPtr() const = 0;
65 virtual guest_ptr<void> IoStatusBlockPtr() const = 0;
71 virtual guest_ptr<void> BufferPtr() const = 0;
77 virtual uint32_t Length() const = 0;
83 virtual guest_ptr<void> ByteOffsetPtr() const = 0;
89 virtual guest_ptr<void> KeyPtr() const = 0;
90
91 /* Direct parameter setters */
92
98 virtual void FileHandle(uint64_t FileHandle) = 0;
104 virtual void Event(uint64_t Event) = 0;
110 virtual void ApcRoutinePtr(const guest_ptr<void>& pApcRoutine) = 0;
116 virtual void ApcContextPtr(const guest_ptr<void>& pApcContext) = 0;
122 virtual void IoStatusBlockPtr(const guest_ptr<void>& pIoStatusBlock) = 0;
128 virtual void BufferPtr(const guest_ptr<void>& pBuffer) = 0;
134 virtual void Length(uint32_t Length) = 0;
140 virtual void ByteOffsetPtr(const guest_ptr<void>& pByteOffset) = 0;
146 virtual void KeyPtr(const guest_ptr<void>& pKey) = 0;
147
148 /* Helper methods */
149 virtual const IO_STATUS_BLOCK* IoStatusBlock() const = 0;
151 virtual int64_t ByteOffset() const = 0;
152 virtual void ByteOffset(int64_t ByteOffset) = 0;
153 virtual uint32_t Key() const = 0;
154 virtual void Key(uint32_t Key) = 0;
155};
156
157} /* namespace nt */
158} /* namespace windows */
159} /* namespace introvirt */
Interface class for hypervisor events.
Definition Event.hh:43
Definition guest_ptr.hh:88
Definition IO_STATUS_BLOCK.hh:31
Handler class for the NtReadWriteFile system call.
Definition NtReadWriteFile.hh:32
virtual void ApcContextPtr(const guest_ptr< void > &pApcContext)=0
Setter for ApcContextPtr.
virtual int64_t ByteOffset() const =0
virtual void ApcRoutinePtr(const guest_ptr< void > &pApcRoutine)=0
Setter for ApcRoutinePtr.
virtual void BufferPtr(const guest_ptr< void > &pBuffer)=0
Setter for BufferPtr.
virtual void ByteOffset(int64_t ByteOffset)=0
virtual uint64_t Event() const =0
Getter for Event.
virtual void ByteOffsetPtr(const guest_ptr< void > &pByteOffset)=0
Setter for ByteOffsetPtr.
virtual uint32_t Length() const =0
Getter for Length.
virtual guest_ptr< void > BufferPtr() const =0
Getter for BufferPtr.
virtual guest_ptr< void > IoStatusBlockPtr() const =0
Getter for IoStatusBlockPtr.
virtual void Key(uint32_t Key)=0
virtual void IoStatusBlockPtr(const guest_ptr< void > &pIoStatusBlock)=0
Setter for IoStatusBlockPtr.
virtual const IO_STATUS_BLOCK * IoStatusBlock() const =0
virtual void KeyPtr(const guest_ptr< void > &pKey)=0
Setter for KeyPtr.
virtual void Event(uint64_t Event)=0
Setter for Event.
virtual uint32_t Key() const =0
virtual guest_ptr< void > ApcRoutinePtr() const =0
Getter for ApcRoutinePtr.
virtual guest_ptr< void > KeyPtr() const =0
Getter for KeyPtr.
virtual uint64_t FileHandle() const =0
Getter for FileHandle.
virtual IO_STATUS_BLOCK * IoStatusBlock()=0
virtual guest_ptr< void > ApcContextPtr() const =0
Getter for ApcContextPtr.
virtual guest_ptr< void > ByteOffsetPtr() const =0
Getter for ByteOffsetPtr.
virtual void Length(uint32_t Length)=0
Setter for Length.
virtual void FileHandle(uint64_t FileHandle)=0
Setter for FileHandle.
Base type for NT system calls.
Definition NtSystemCall.hh:29
Core IntroVirt classes.
Definition Cr0.hh:20