From 5d0fd0b3d00ba0ff655283c40192c1714c5a5933 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Thu, 17 Jan 2013 05:41:22 -0800 Subject: [PATCH] touching up after pull request 6 --- CHANGES | 1 + elftools/elf/elffile.py | 2 +- test/test_arm_support.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index da3262f..4eab25c 100644 --- a/CHANGES +++ b/CHANGES @@ -7,6 +7,7 @@ Changelog file & line information from an address. - Issue #7: parsing incorrect DWARF was made a bit more forgiving for cases where serialized DIE trees have extra NULLs at the end. + - Pull request 6: very initial support for ARM ELF files. + Version 0.20 (27.01.2012) diff --git a/elftools/elf/elffile.py b/elftools/elf/elffile.py index 51a645d..4814c7f 100644 --- a/elftools/elf/elffile.py +++ b/elftools/elf/elffile.py @@ -149,7 +149,7 @@ class ELFFile(object): def get_machine_arch(self): """ Return the machine architecture, as detected from the ELF header. - At the moment the only supported architectures are x86 and x64. + Not all architectures are supported at the moment. """ if self['e_machine'] == 'EM_X86_64': return 'x64' diff --git a/test/test_arm_support.py b/test/test_arm_support.py index 6ea3969..71d8fc6 100644 --- a/test/test_arm_support.py +++ b/test/test_arm_support.py @@ -21,3 +21,4 @@ class TestARMSupport(unittest.TestCase): if __name__ == '__main__': sys.exit(unittest.main()) + -- 2.30.2