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
19
21
22#include <string>
23
24namespace introvirt {
25namespace windows {
26namespace nt {
27
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
37namespace inject {
38
39template <>
40class 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 */
Definition GuestAllocation.hh:179
Definition GuestAllocation.hh:31
Definition PROCESS_IMAGE_FILE_NAME_INFORMATION.hh:28
virtual void ImageFileName(const std::string &value)=0
Definition PROCESS_INFORMATION.hh:32
Core IntroVirt classes.
Definition Cr0.hh:20