libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
DBGKD_GET_VERSION64.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#pragma once
17
19
20#include <introvirt/fwd.hh>
21
22#include <cstdint>
23#include <memory>
24
25namespace introvirt {
26namespace windows {
27namespace nt {
28
33 public:
38 public:
42 bool MP() const;
46 bool DATA() const;
50 bool PTR64() const;
54 bool NOMM() const;
58 bool HSS() const;
62 bool PARTITIONS() const;
63
64 explicit DBGKD_VERS_FLAG(uint16_t value);
65 explicit operator uint16_t() const;
66
67 private:
68 uint16_t value_;
69 };
70
76 virtual uint16_t MajorVersion() const = 0;
77
81 virtual uint16_t MinorVersion() const = 0;
82
86 virtual uint16_t ProtocolVersion() const = 0;
87
93 virtual DBGKD_VERS_FLAG Flags() const = 0;
94
98 virtual pe::MachineType MachineType() const = 0;
99
103 virtual uint8_t MaxPacketType() const = 0;
104
108 virtual uint8_t MaxStateChange() const = 0;
109
114 virtual uint8_t MaxManipulate() const = 0;
115
119 virtual uint8_t Simulation() const = 0;
120
124 virtual uint64_t KernelBase() const = 0;
125
129 virtual uint64_t PsLoadedModuleList() const = 0;
130
134 virtual ~DBGKD_GET_VERSION64() = default;
135};
136
137} /* namespace nt */
138} /* namespace windows */
139} /* namespace introvirt */
Parser for the DBGKD_GET_VERSION64::Flags field.
Definition DBGKD_GET_VERSION64.hh:37
Definition DBGKD_GET_VERSION64.hh:32
virtual uint8_t MaxPacketType() const =0
virtual uint16_t MajorVersion() const =0
virtual pe::MachineType MachineType() const =0
virtual ~DBGKD_GET_VERSION64()=default
Destroy the instance.
virtual uint16_t ProtocolVersion() const =0
virtual uint8_t Simulation() const =0
virtual uint64_t PsLoadedModuleList() const =0
virtual uint8_t MaxManipulate() const =0
virtual uint16_t MinorVersion() const =0
virtual uint8_t MaxStateChange() const =0
virtual DBGKD_VERS_FLAG Flags() const =0
Get the Flags field.
virtual uint64_t KernelBase() const =0
MachineType
Definition MachineType.hh:26
Core IntroVirt classes.
Definition Cr0.hh:20