libintrovirt
v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
IMAGE_SECTION_HEADER.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 <
introvirt/core/memory/guest_ptr.hh
>
19
20
#include <cstdint>
21
#include <string>
22
23
namespace
introvirt
{
24
namespace
windows {
25
namespace
pe {
26
27
class
IMAGE_SECTION_HEADER
{
28
public
:
29
virtual
const
std::string&
Name
()
const
= 0;
30
virtual
uint32_t
VirtualSize
()
const
= 0;
31
virtual
guest_ptr<void>
VirtualAddress
()
const
= 0;
32
virtual
uint32_t
SizeOfRawData
()
const
= 0;
33
34
virtual
~IMAGE_SECTION_HEADER
() =
default
;
35
};
36
37
}
// namespace pe
38
}
// namespace windows
39
}
// namespace introvirt
introvirt::basic_guest_ptr
Definition
guest_ptr.hh:88
introvirt::windows::pe::IMAGE_SECTION_HEADER
Definition
IMAGE_SECTION_HEADER.hh:27
introvirt::windows::pe::IMAGE_SECTION_HEADER::VirtualSize
virtual uint32_t VirtualSize() const =0
introvirt::windows::pe::IMAGE_SECTION_HEADER::SizeOfRawData
virtual uint32_t SizeOfRawData() const =0
introvirt::windows::pe::IMAGE_SECTION_HEADER::~IMAGE_SECTION_HEADER
virtual ~IMAGE_SECTION_HEADER()=default
introvirt::windows::pe::IMAGE_SECTION_HEADER::Name
virtual const std::string & Name() const =0
introvirt::windows::pe::IMAGE_SECTION_HEADER::VirtualAddress
virtual guest_ptr< void > VirtualAddress() const =0
guest_ptr.hh
Type-safe guest virtual address pointer and guest_ptr template.
introvirt
Core IntroVirt classes.
Definition
Cr0.hh:20