pe_enums.h
Go to the documentation of this file.
1 /* Copyright 2017 - 2021 R. Thomas
2  * Copyright 2017 - 2021 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 
17 
18 enum class PE_SECTION_TYPES : uint8_t {
19  TEXT = 0,
20  TLS = 1,
21  IMPORT = 2,
22  DATA = 3,
23  BSS = 4,
24  RESOURCE = 5,
25  RELOCATION = 6,
26  EXPORT = 7,
27  DEBUG = 8,
28  LOAD_CONFIG = 9,
29  UNKNOWN = 10
30 };
31 
32 enum class PE_TYPE : uint16_t {
33  PE32 = 0x10b,
34  PE32_PLUS = 0x20b
35 };
36 
PE_SECTION_TYPES::IMPORT
@ IMPORT
PE_TYPE::PE32
@ PE32
32bits
uint16_t
unsigned short uint16_t
Definition: stdint-msvc2008.h:79
PE_TYPE::PE32_PLUS
@ PE32_PLUS
64 bits
PE_SECTION_TYPES::EXPORT
@ EXPORT
PE_SECTION_TYPES::TLS
@ TLS
PE_TYPE
PE_TYPE
Definition: pe_enums.h:32
uint8_t
unsigned char uint8_t
Definition: stdint-msvc2008.h:78
PE_SECTION_TYPES::RELOCATION
@ RELOCATION
PE_SECTION_TYPES
PE_SECTION_TYPES
Definition: pe_enums.h:18
PE_SECTION_TYPES::DEBUG
@ DEBUG
PE_SECTION_TYPES::TEXT
@ TEXT
PE_SECTION_TYPES::BSS
@ BSS
PE_SECTION_TYPES::UNKNOWN
@ UNKNOWN
PE_SECTION_TYPES::DATA
@ DATA
PE_SECTION_TYPES::LOAD_CONFIG
@ LOAD_CONFIG
PE_SECTION_TYPES::RESOURCE
@ RESOURCE


grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:41