libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
WindowsEventTaskInformation.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
20
21namespace introvirt {
22namespace windows {
23
25 public:
26 uint64_t pid() const override;
27
28 uint64_t tid() const override;
29
30 std::string process_name() const override;
31
40
44 const nt::KPCR& pcr() const;
45
47
49
50 private:
51 nt::KPCR& kpcr_;
52};
53
54} // namespace windows
55} // namespace introvirt
An interface for event process information.
Definition EventTaskInformation.hh:28
Definition WindowsEventTaskInformation.hh:24
std::string process_name() const override
const nt::KPCR & pcr() const
Get the Processor Control Region.
nt::KPCR & pcr()
Get the Processor Control Region.
The KPCR (Kernel Processor Control Region) is used by Windows to hold information about the current t...
Definition KPCR.hh:32
Core IntroVirt classes.
Definition Cr0.hh:20