libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
TOKEN_OWNER.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
18#include "TOKEN_INFORMATION.hh"
19
21
22namespace introvirt {
23namespace windows {
24namespace nt {
25
27 public:
28 virtual guest_ptr<void> OwnerPtr() const = 0;
29 virtual void OwnerPtr(const guest_ptr<void>& ptr) = 0;
30
31 virtual SID* Owner() = 0;
32 virtual const SID* Owner() const = 0;
33};
34
35} /* namespace nt */
36} /* namespace windows */
37} /* namespace introvirt */
Definition guest_ptr.hh:88
Definition SID.hh:35
An abstract class reprseneting a more specific token information buffer.
Definition TOKEN_INFORMATION.hh:36
virtual guest_ptr< void > ptr() const =0
Get the address that the buffer is at.
Definition TOKEN_OWNER.hh:26
virtual void OwnerPtr(const guest_ptr< void > &ptr)=0
virtual guest_ptr< void > OwnerPtr() const =0
virtual const SID * Owner() const =0
Core IntroVirt classes.
Definition Cr0.hh:20