The offset calculation belongs to the format plug-in itself
This commit is contained in:
parent
6bfdb88736
commit
945dfe6232
@ -527,7 +527,7 @@ static int _elf_decode64(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);
|
||||
|
Loading…
Reference in New Issue
Block a user