Also fixed the base address for 32-bits executables

This commit is contained in:
Pierre Pronchery 2011-09-03 20:19:13 +00:00
parent 5c080712de
commit a8dc013144

View File

@ -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);