Skip to content

Commit fa01bf3

Browse files
committed
pe: expose original bytes field
There's no reason to make it private, this enable a user to peek inside the raw structure and perform more complicated reading without holding the original bytes around.
1 parent e807fb1 commit fa01bf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pe/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ use log::debug;
3939
/// An analyzed PE32/PE32+ binary
4040
pub struct PE<'a> {
4141
/// Underlying bytes
42-
bytes: &'a [u8],
42+
pub bytes: &'a [u8],
4343
authenticode_excluded_sections: Option<authenticode::ExcludedSections>,
4444
/// The PE header
4545
pub header: header::Header,

0 commit comments

Comments
 (0)