LIEF: Library to Instrument Executable Formats Version 0.15.0
Loading...
Searching...
No Matches
DataDirectory.h
1/* Copyright 2017 - 2024 R. Thomas
2 * Copyright 2017 - 2024 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
24extern "C" {
25#endif
26
27
28enum 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
50 uint32_t rva;
51 uint32_t size;
52};
53
55
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif
Definition DataDirectory.h:49