From 759e0622d266152a480c79ba8ed3105365e00b98 Mon Sep 17 00:00:00 2001 From: KiraCoding <38864051+KiraCoding@users.noreply.github.com> Date: Wed, 28 Aug 2024 20:45:28 +0200 Subject: [PATCH] wip --- src/program.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/program.rs b/src/program.rs index f2e2726..e11713d 100644 --- a/src/program.rs +++ b/src/program.rs @@ -97,7 +97,7 @@ impl Program { unsafe { core::str::from_utf8_unchecked(&raw_name[..name_len]) } }; - Section::new(name, base, len) + Section::new(name, base, unsafe { section.Misc.VirtualSize as usize }) }) .collect();