LIEF: Library to Instrument Executable Formats Version 0.15.1
Loading...
Searching...
No Matches
ELF/Header.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 LIEF_C_ELF_HEADER_H
17#define LIEF_C_ELF_HEADER_H
18#include <inttypes.h>
19
20#include "LIEF/ELF/enums.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
42
44
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif
@ LIEF_EI_NIDENT
Definition ELF/enums.h:21
Definition ELF/Header.h:26
uint32_t name_string_table_idx
Definition ELF/Header.h:40
uint32_t numberof_sections
Definition ELF/Header.h:39
uint32_t file_type
Definition ELF/Header.h:28
uint32_t program_header_size
Definition ELF/Header.h:36
uint64_t program_headers_offset
Definition ELF/Header.h:32
uint8_t identity[LIEF_EI_NIDENT]
Definition ELF/Header.h:27
uint32_t object_file_version
Definition ELF/Header.h:30
uint64_t entrypoint
Definition ELF/Header.h:31
uint32_t processor_flags
Definition ELF/Header.h:34
uint32_t section_header_size
Definition ELF/Header.h:38
uint32_t machine_type
Definition ELF/Header.h:29
uint64_t section_headers_offset
Definition ELF/Header.h:33
uint32_t numberof_segments
Definition ELF/Header.h:37
uint32_t header_size
Definition ELF/Header.h:35