xv6-simplified 0.1
简化版xv6
Loading...
Searching...
No Matches
Data Structures | Macros
elf.h File Reference

ELF可执行文件的格式化 More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  elfhdr
 
struct  proghdr
 

Macros

#define ELF_MAGIC   0x464C457FU
 
#define ELF_PROG_LOAD   1
 
#define ELF_PROG_FLAG_EXEC   1
 
#define ELF_PROG_FLAG_WRITE   2
 
#define ELF_PROG_FLAG_READ   4
 

Detailed Description

ELF可执行文件的格式化

Date
23.05.01
Author
xin
Version
0.1 @status Stable

Macro Definition Documentation

◆ ELF_MAGIC

#define ELF_MAGIC   0x464C457FU

◆ ELF_PROG_FLAG_EXEC

#define ELF_PROG_FLAG_EXEC   1

◆ ELF_PROG_FLAG_READ

#define ELF_PROG_FLAG_READ   4

◆ ELF_PROG_FLAG_WRITE

#define ELF_PROG_FLAG_WRITE   2

◆ ELF_PROG_LOAD

#define ELF_PROG_LOAD   1