From a8dc01314416efd22f7a84b843227cf79926b30c Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 3 Sep 2011 20:19:13 +0000 Subject: [PATCH] Also fixed the base address for 32-bits executables --- src/format/elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format/elf.c b/src/format/elf.c index cd1541d..ac375be 100644 --- a/src/format/elf.c +++ b/src/format/elf.c @@ -388,7 +388,7 @@ static int _elf_decode32(FormatPlugin * format) helper->decode(helper->format, &shstrtab[shdr[i].sh_name], shdr[i].sh_offset, shdr[i].sh_size, - base); + base + shdr[i].sh_offset); } free(shstrtab); free(shdr);