summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/readelf/section.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/readelf/section.c b/plugins/readelf/section.c
index 9410f69..89b13c4 100644
--- a/plugins/readelf/section.c
+++ b/plugins/readelf/section.c
@@ -414,7 +414,8 @@ bool annotate_elf_section_header_table(GElfFormat *format, GtkStatusStack *statu
offset = ELF_HDR(format, *header, e_shoff);
- init_vmpa(&pos, offset, 0x9900);
+ if (!g_exe_format_translate_offset_into_vmpa(G_EXE_FORMAT(format), offset, &pos))
+ return false;
e_shnum = ELF_HDR(format, *header, e_shnum);