diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-02-16 17:58:35 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-02-16 17:58:35 (GMT) |
commit | d5e94fd2895a5f9c4903bdaddf75727a54aec181 (patch) | |
tree | d2f11a1862e6df3d86c4f65aeb98e6fc04e7cf3b /plugins/elf/elf_def.h | |
parent | d93d67a2408fd5c09e73b40fdbd28d4914254a90 (diff) |
Extended the ELF format support.
Diffstat (limited to 'plugins/elf/elf_def.h')
-rw-r--r-- | plugins/elf/elf_def.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/elf/elf_def.h b/plugins/elf/elf_def.h index 2120afa..9284328 100644 --- a/plugins/elf/elf_def.h +++ b/plugins/elf/elf_def.h @@ -100,12 +100,16 @@ typedef union _elf_header /* Composition du champ e_ident */ - +#define EI_MAG0 0 /* Identification, octet #0 */ +#define EI_MAG1 1 /* Identification, octet #1 */ +#define EI_MAG2 2 /* Identification, octet #2 */ +#define EI_MAG3 3 /* Identification, octet #3 */ #define EI_CLASS 4 /* Indice de classe du fichier */ #define EI_DATA 5 /* Indice de l'encodage */ #define EI_VERSION 6 /* Version de fichier ELF */ #define EI_OSABI 7 /* Identification de l'ABI OS */ - +#define EI_ABIVERSION 8 /* Version de l'ABI */ +#define EI_PAD 9 /* Premier octet de bourrage */ /* ... EI_CLASS */ |