summaryrefslogtreecommitdiff
path: root/plugins/elf/elf_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/elf/elf_def.h')
-rw-r--r--plugins/elf/elf_def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/elf/elf_def.h b/plugins/elf/elf_def.h
index bb33d6d..a820eac 100644
--- a/plugins/elf/elf_def.h
+++ b/plugins/elf/elf_def.h
@@ -111,6 +111,11 @@ typedef union _elf_header
#define EI_ABIVERSION 8 /* Version de l'ABI */
#define EI_PAD 9 /* Premier octet de bourrage */
+/* ... EI_MAG* */
+
+#define ELFMAG "\x7f\x45\x4c\x46" /* .ELF */
+#define SELFMAG 4
+
/* ... EI_CLASS */
#define ELFCLASSNONE 0 /* Objet invalide */