From 0346891cb8773f50b5fe7e37e31b97d5d7217baa Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Thu, 9 May 2019 15:15:54 +0200 Subject: [PATCH] Fix elf loader for PPC64 --- ropper/loaders/elf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ropper/loaders/elf.py b/ropper/loaders/elf.py index d494a56..6fec2cc 100644 --- a/ropper/loaders/elf.py +++ b/ropper/loaders/elf.py @@ -155,4 +155,4 @@ def getArch(*params): (elf.EM.ARM, elf.ELFCLASS.BITS_32, elf.ELFDATA.LSB) : ARM, (elf.EM.ARM64, elf.ELFCLASS.BITS_64, elf.ELFDATA.LSB) : ARM64, (elf.EM.PPC, elf.ELFCLASS.BITS_32, elf.ELFDATA.MSB) : PPC, - (elf.EM.PPC, elf.ELFCLASS.BITS_64, elf.ELFDATA.MSB) : PPC64} + (elf.EM.PPC64, elf.ELFCLASS.BITS_64, elf.ELFDATA.MSB) : PPC64}