about summary refs log tree commit diff stats
path: root/miasm2/jitter/loader/elf.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2015-08-10 16:10:55 +0200
committerCamille Mougey <commial@gmail.com>2015-08-10 16:10:55 +0200
commitbd47054b59077cc6b0aa91b3a542bc5bf2c12ff8 (patch)
treef75283277ee1ec555a37dd817c41bb695092370f /miasm2/jitter/loader/elf.py
parentdcc488ec39d9a96b70c728ccdbcd43e62b25ae99 (diff)
parent6c9e46d8d2c2f0b34f025ec2381015bbfa9eb34e (diff)
downloadmiasm-bd47054b59077cc6b0aa91b3a542bc5bf2c12ff8.tar.gz
miasm-bd47054b59077cc6b0aa91b3a542bc5bf2c12ff8.zip
Merge pull request #206 from serpilliere/aarch64
Aarch64
Diffstat (limited to 'miasm2/jitter/loader/elf.py')
-rw-r--r--miasm2/jitter/loader/elf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/miasm2/jitter/loader/elf.py b/miasm2/jitter/loader/elf.py
index 61c40ddd..b3946000 100644
--- a/miasm2/jitter/loader/elf.py
+++ b/miasm2/jitter/loader/elf.py
@@ -85,6 +85,8 @@ class libimp_elf(libimp):
 # machine, size, sex -> arch_name
 ELF_machine = {(elf_csts.EM_ARM, 32, elf_csts.ELFDATA2LSB): "arml",
                (elf_csts.EM_ARM, 32, elf_csts.ELFDATA2MSB): "armb",
+               (elf_csts.EM_AARCH64, 64, elf_csts.ELFDATA2LSB): "aarch64l",
+               (elf_csts.EM_AARCH64, 64, elf_csts.ELFDATA2MSB): "aarch64b",
                (elf_csts.EM_MIPS, 32, elf_csts.ELFDATA2MSB): "mips32b",
                (elf_csts.EM_MIPS, 32, elf_csts.ELFDATA2LSB): "mips32l",
                (elf_csts.EM_386, 32, elf_csts.ELFDATA2LSB): "x86_32",