libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
IMAGE_EXPORT_DIRECTORY.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
20
21#include <cstdint>
22#include <map>
23#include <string>
24#include <unordered_map>
25
26namespace introvirt {
27namespace windows {
28namespace pe {
29
31
37
43 public:
44 virtual uint32_t Characteristics() const = 0;
45 virtual uint32_t TimeDateStamp() const = 0;
46 virtual uint16_t MajorVersion() const = 0;
47 virtual uint16_t MinorVersion() const = 0;
48
52 virtual const std::map<guest_ptr<void>, Export>& AddressToExportMap() const = 0;
53
57 virtual const std::unordered_map<std::string, Export>& NameToExportMap() const = 0;
58
62 virtual const Export* find(const std::string& name) const = 0;
63
64 virtual ~IMAGE_EXPORT_DIRECTORY() = default;
65};
66
67} /* namespace pe */
68} /* namespace windows */
69} /* namespace introvirt */
Definition guest_ptr.hh:88
Definition IMAGE_EXPORT_DIRECTORY.hh:42
virtual uint16_t MinorVersion() const =0
virtual const std::map< guest_ptr< void >, Export > & AddressToExportMap() const =0
virtual uint16_t MajorVersion() const =0
virtual const Export * find(const std::string &name) const =0
virtual uint32_t Characteristics() const =0
virtual const std::unordered_map< std::string, Export > & NameToExportMap() const =0
virtual uint32_t TimeDateStamp() const =0
Type-safe guest virtual address pointer and guest_ptr template.
ExportType
Definition IMAGE_EXPORT_DIRECTORY.hh:30
@ EXPORT_TYPE_DATA
Definition IMAGE_EXPORT_DIRECTORY.hh:30
@ EXPORT_TYPE_CODE
Definition IMAGE_EXPORT_DIRECTORY.hh:30
@ EXPORT_TYPE_FORWARD
Definition IMAGE_EXPORT_DIRECTORY.hh:30
Core IntroVirt classes.
Definition Cr0.hh:20
Definition IMAGE_EXPORT_DIRECTORY.hh:32
ExportType exportType
Definition IMAGE_EXPORT_DIRECTORY.hh:34
std::string name
Definition IMAGE_EXPORT_DIRECTORY.hh:33
guest_ptr< void > address
Definition IMAGE_EXPORT_DIRECTORY.hh:35