Implemented ELFFile.get_machine_arch for the remaining architectures. (#206)
authorgahag <gabriel.s.b@live.com>
Sun, 25 Nov 2018 22:06:14 +0000 (20:06 -0200)
committerEli Bendersky <eliben@users.noreply.github.com>
Sun, 25 Nov 2018 22:06:14 +0000 (14:06 -0800)
commitd60d952075c8120a1f7f22d0463c8cbeaba9d6ff
tree39146e16657885734e9a6a5a087a9ed6272977e9
parentf9d3e901917045ff628a863eda192b7413adc6d5
Implemented ELFFile.get_machine_arch for the remaining architectures. (#206)

* Implemented ELFFile.get_machine_arch for the remaining architectures.

Added all architectures according to the ENUM_E_MACHINE.

* Refactored if statement into dict.get.
elftools/elf/elffile.py