From af43e506fb4ab72ce6322bfbf1ee8c77ec340002 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 23 Nov 2019 20:50:36 +0000 Subject: [PATCH] Elf64Layer: Fix typo in exception message. --- volatility/framework/layers/elf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility/framework/layers/elf.py b/volatility/framework/layers/elf.py index 4dee07aca..ae622536d 100644 --- a/volatility/framework/layers/elf.py +++ b/volatility/framework/layers/elf.py @@ -61,7 +61,7 @@ class Elf64Layer(segmented.SegmentedLayer): if magic != cls.MAGIC: raise ElfFormatException(base_layer.name, "Bad magic 0x{:x} at file offset 0x{:x}".format(magic, offset)) if elf_class != cls.ELF_CLASS: - raise ElfFormatException(base_layer.name, "ELF class is not 64-bit (2): {:d}".format(elf_class, offset)) + raise ElfFormatException(base_layer.name, "ELF class is not 64-bit (2): {:d}".format(elf_class)) # Virtualbox uses an ELF version of 0, which isn't to specification, but is ok to deal with return True