elf: add basic elf parsing
This commit is contained in:
parent
fcbcde3666
commit
a85be6eb62
6 changed files with 189 additions and 2 deletions
|
|
@ -21,6 +21,13 @@
|
|||
#define SEEK_CUR 1
|
||||
#define SEEK_END 2
|
||||
|
||||
#define O_RDONLY 0x0001
|
||||
#define O_WRONLY 0x0002
|
||||
#define O_RDWR 0x0004
|
||||
#define O_CREAT 0x0008
|
||||
#define O_TRUNC 0x0010
|
||||
#define O_APPEND 0x0020
|
||||
|
||||
typedef uint32_t ino_t;
|
||||
typedef uint8_t ftype_t;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue