libintrovirt
v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
PROCESS_IMAGE_FILE_NAME_INFORMATION.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 "
PROCESS_INFORMATION.hh
"
19
20
#include <
introvirt/core/injection/GuestAllocation.hh
>
21
22
#include <string>
23
24
namespace
introvirt
{
25
namespace
windows {
26
namespace
nt {
27
28
class
PROCESS_IMAGE_FILE_NAME_INFORMATION
:
public
PROCESS_INFORMATION
{
29
public
:
30
virtual
std::string
ImageFileName
()
const
= 0;
31
virtual
void
ImageFileName
(
const
std::string& value) = 0;
32
};
33
34
}
/* namespace nt */
35
}
/* namespace windows */
36
37
namespace
inject {
38
39
template
<>
40
class
GuestAllocation
<windows::nt::PROCESS_IMAGE_FILE_NAME_INFORMATION> final
41
:
public
GuestAllocationComplexBase
<windows::nt::PROCESS_IMAGE_FILE_NAME_INFORMATION> {
42
public
:
43
explicit
GuestAllocation
(uint16_t string_buffer_size = 256);
44
45
private
:
46
template
<
typename
PtrType>
47
void
init(uint16_t string_buffer_size);
48
};
49
50
}
/* namespace inject */
51
52
}
/* namespace introvirt */
GuestAllocation.hh
introvirt::inject::GuestAllocationComplexBase
Definition
GuestAllocation.hh:179
introvirt::inject::GuestAllocation< windows::nt::PROCESS_IMAGE_FILE_NAME_INFORMATION >::GuestAllocation
GuestAllocation(uint16_t string_buffer_size=256)
introvirt::inject::GuestAllocation
Definition
GuestAllocation.hh:31
introvirt::windows::nt::PROCESS_IMAGE_FILE_NAME_INFORMATION
Definition
PROCESS_IMAGE_FILE_NAME_INFORMATION.hh:28
introvirt::windows::nt::PROCESS_IMAGE_FILE_NAME_INFORMATION::ImageFileName
virtual std::string ImageFileName() const =0
introvirt::windows::nt::PROCESS_IMAGE_FILE_NAME_INFORMATION::ImageFileName
virtual void ImageFileName(const std::string &value)=0
introvirt::windows::nt::PROCESS_INFORMATION
Definition
PROCESS_INFORMATION.hh:32
PROCESS_INFORMATION.hh
introvirt
Core IntroVirt classes.
Definition
Cr0.hh:20