LIEF: Library to Instrument Executable Formats
Version 1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
lief-install
x86_64
static
include
LIEF
PE
DataDirectory.h
Go to the documentation of this file.
1
/* Copyright 2017 - 2026 R. Thomas
2
* Copyright 2017 - 2026 Quarkslab
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
#ifndef C_LIEF_PE_DATA_DIRECTORY_H
17
#define C_LIEF_PE_DATA_DIRECTORY_H
18
19
#include <inttypes.h>
20
21
#include "
LIEF/PE/enums.h
"
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
28
enum
LIEF_PE_DATA_DIRECTORY
{
29
LIEF_PE_DATA_DIR_EXPORT_TABLE
= 0,
30
LIEF_PE_DATA_DIR_IMPORT_TABLE
,
31
LIEF_PE_DATA_DIR_RESOURCE_TABLE
,
32
LIEF_PE_DATA_DIR_EXCEPTION_TABLE
,
33
LIEF_PE_DATA_DIR_CERTIFICATE_TABLE
,
34
LIEF_PE_DATA_DIR_BASE_RELOCATION_TABLE
,
35
LIEF_PE_DATA_DIR_DEBUG
,
36
LIEF_PE_DATA_DIR_ARCHITECTURE
,
37
LIEF_PE_DATA_DIR_GLOBAL_PTR
,
38
LIEF_PE_DATA_DIR_TLS_TABLE
,
39
LIEF_PE_DATA_DIR_LOAD_CONFIG_TABLE
,
40
LIEF_PE_DATA_DIR_BOUND_IMPORT
,
41
LIEF_PE_DATA_DIR_IAT
,
42
LIEF_PE_DATA_DIR_DELAY_IMPORT_DESCRIPTOR
,
43
LIEF_PE_DATA_DIR_CLR_RUNTIME_HEADER
,
44
LIEF_PE_DATA_DIR_RESERVED
,
45
46
LIEF_PE_DATA_DIR_NONE
,
47
};
48
49
struct
Pe_DataDirectory_t
{
50
uint32_t
rva
;
51
uint32_t
size
;
52
};
53
54
typedef
struct
Pe_DataDirectory_t
Pe_DataDirectory_t
;
55
56
57
#ifdef __cplusplus
58
}
59
#endif
60
61
#endif
LIEF_PE_DATA_DIRECTORY
LIEF_PE_DATA_DIRECTORY
Definition
DataDirectory.h:28
LIEF_PE_DATA_DIR_LOAD_CONFIG_TABLE
@ LIEF_PE_DATA_DIR_LOAD_CONFIG_TABLE
Definition
DataDirectory.h:39
LIEF_PE_DATA_DIR_TLS_TABLE
@ LIEF_PE_DATA_DIR_TLS_TABLE
Definition
DataDirectory.h:38
LIEF_PE_DATA_DIR_BOUND_IMPORT
@ LIEF_PE_DATA_DIR_BOUND_IMPORT
Definition
DataDirectory.h:40
LIEF_PE_DATA_DIR_CERTIFICATE_TABLE
@ LIEF_PE_DATA_DIR_CERTIFICATE_TABLE
Definition
DataDirectory.h:33
LIEF_PE_DATA_DIR_IMPORT_TABLE
@ LIEF_PE_DATA_DIR_IMPORT_TABLE
Definition
DataDirectory.h:30
LIEF_PE_DATA_DIR_DELAY_IMPORT_DESCRIPTOR
@ LIEF_PE_DATA_DIR_DELAY_IMPORT_DESCRIPTOR
Definition
DataDirectory.h:42
LIEF_PE_DATA_DIR_EXPORT_TABLE
@ LIEF_PE_DATA_DIR_EXPORT_TABLE
Definition
DataDirectory.h:29
LIEF_PE_DATA_DIR_ARCHITECTURE
@ LIEF_PE_DATA_DIR_ARCHITECTURE
Definition
DataDirectory.h:36
LIEF_PE_DATA_DIR_DEBUG
@ LIEF_PE_DATA_DIR_DEBUG
Definition
DataDirectory.h:35
LIEF_PE_DATA_DIR_RESERVED
@ LIEF_PE_DATA_DIR_RESERVED
Definition
DataDirectory.h:44
LIEF_PE_DATA_DIR_RESOURCE_TABLE
@ LIEF_PE_DATA_DIR_RESOURCE_TABLE
Definition
DataDirectory.h:31
LIEF_PE_DATA_DIR_EXCEPTION_TABLE
@ LIEF_PE_DATA_DIR_EXCEPTION_TABLE
Definition
DataDirectory.h:32
LIEF_PE_DATA_DIR_IAT
@ LIEF_PE_DATA_DIR_IAT
Definition
DataDirectory.h:41
LIEF_PE_DATA_DIR_BASE_RELOCATION_TABLE
@ LIEF_PE_DATA_DIR_BASE_RELOCATION_TABLE
Definition
DataDirectory.h:34
LIEF_PE_DATA_DIR_CLR_RUNTIME_HEADER
@ LIEF_PE_DATA_DIR_CLR_RUNTIME_HEADER
Definition
DataDirectory.h:43
LIEF_PE_DATA_DIR_NONE
@ LIEF_PE_DATA_DIR_NONE
Definition
DataDirectory.h:46
LIEF_PE_DATA_DIR_GLOBAL_PTR
@ LIEF_PE_DATA_DIR_GLOBAL_PTR
Definition
DataDirectory.h:37
enums.h
Pe_DataDirectory_t
Definition
DataDirectory.h:49
Pe_DataDirectory_t::size
uint32_t size
Definition
DataDirectory.h:51
Pe_DataDirectory_t::rva
uint32_t rva
Definition
DataDirectory.h:50
Generated by
1.17.0