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
20
#include <
introvirt/windows/kernel/nt/types/SID.hh
>
21
22
namespace
introvirt
{
23
namespace
windows {
24
namespace
nt {
25
26
class
TOKEN_OWNER
:
public
TOKEN_INFORMATION
{
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 */
SID.hh
TOKEN_INFORMATION.hh
introvirt::basic_guest_ptr
Definition
guest_ptr.hh:88
introvirt::windows::nt::SID
Definition
SID.hh:35
introvirt::windows::nt::TOKEN_INFORMATION
An abstract class reprseneting a more specific token information buffer.
Definition
TOKEN_INFORMATION.hh:36
introvirt::windows::nt::TOKEN_INFORMATION::ptr
virtual guest_ptr< void > ptr() const =0
Get the address that the buffer is at.
introvirt::windows::nt::TOKEN_OWNER
Definition
TOKEN_OWNER.hh:26
introvirt::windows::nt::TOKEN_OWNER::OwnerPtr
virtual void OwnerPtr(const guest_ptr< void > &ptr)=0
introvirt::windows::nt::TOKEN_OWNER::Owner
virtual SID * Owner()=0
introvirt::windows::nt::TOKEN_OWNER::OwnerPtr
virtual guest_ptr< void > OwnerPtr() const =0
introvirt::windows::nt::TOKEN_OWNER::Owner
virtual const SID * Owner() const =0
introvirt
Core IntroVirt classes.
Definition
Cr0.hh:20