:: commit 2720cb2650f5a652ea6260e6e351d19f6683f5eb

Mintsuki <mintsuki@protonmail.com> — 2026-02-08 06:27

parents: 9ff880b13e

lib/elf: Widen section_offset to uint64_t for ELF64 shoff

diff --git a/common/lib/elf.h b/common/lib/elf.h
index eac3a67b..e8d5b280 100644
--- a/common/lib/elf.h
+++ b/common/lib/elf.h
@@ -16,7 +16,7 @@ struct elf_section_hdr_info {
     uint32_t section_entry_size;
     uint32_t str_section_idx;
     uint32_t num;
-    uint32_t section_offset;
+    uint64_t section_offset;
 };
 
 int elf_bits(uint8_t *elf);
tab: 248 wrap: offon