Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
abbiecnt committed Aug 28, 2024
1 parent b451a19 commit 759e062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 759e062

Please sign in to comment.