MCPcopy Create free account
hub / github.com/MemNixFS/MemNixFS / Elf64_Ehdr

Class Elf64_Ehdr

src/os/linux/elf_core.cpp:11–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10#pragma pack(push, 1)
11struct Elf64_Ehdr {
12 u8 e_ident[16];
13 u16 e_type;
14 u16 e_machine;
15 u32 e_version;
16 u64 e_entry;
17 u64 e_phoff;
18 u64 e_shoff;
19 u32 e_flags;
20 u16 e_ehsize;
21 u16 e_phentsize;
22 u16 e_phnum;
23 u16 e_shentsize;
24 u16 e_shnum;
25 u16 e_shstrndx;
26};
27struct Elf64_Phdr {
28 u32 p_type;
29 u32 p_flags;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected