LIEF: Library to Instrument Executable Formats Version 0.15.1
Loading...
Searching...
No Matches
DosHeader.h
Go to the documentation of this file.
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_DOS_HEADER_H_
17#define C_LIEF_PE_DOS_HEADER_H_
18#include <inttypes.h>
19
20#include "LIEF/ELF/enums.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
47
49
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif
Definition DosHeader.h:26
uint16_t oem_id
Definition DosHeader.h:42
uint16_t checksum
Definition DosHeader.h:36
uint16_t oem_info
Definition DosHeader.h:43
uint16_t file_size_in_pages
Definition DosHeader.h:29
uint16_t initial_relative_ss
Definition DosHeader.h:34
uint16_t reserved2[10]
Definition DosHeader.h:44
uint16_t header_size_in_paragraphs
Definition DosHeader.h:31
uint16_t maximum_extra_paragraphs
Definition DosHeader.h:33
uint16_t minimum_extra_paragraphs
Definition DosHeader.h:32
uint16_t numberof_relocation
Definition DosHeader.h:30
uint32_t addressof_new_exeheader
Definition DosHeader.h:45
uint16_t used_bytes_in_last_page
Definition DosHeader.h:28
uint16_t magic
Definition DosHeader.h:27
uint16_t reserved[4]
Definition DosHeader.h:41
uint16_t initial_sp
Definition DosHeader.h:35
uint16_t overlay_number
Definition DosHeader.h:40
uint16_t initial_ip
Definition DosHeader.h:37
uint16_t initial_relative_cs
Definition DosHeader.h:38
uint16_t addressof_relocation_table
Definition DosHeader.h:39