pub struct ReadConfig {
pub include_sections: bool,
pub validate_checksum: bool,
pub parse_imports: bool,
pub parse_exports: bool,
}Expand description
PE file reading configuration
Controls the behavior of the PE file parsing process, allowing selective parsing of different parts. Adjusting these settings balances performance and functionality.
Fields§
§include_sections: boolWhether to include section data; if false, only headers are parsed
validate_checksum: boolWhether to validate the checksum; validation increases parsing time
parse_imports: boolWhether to parse the import table, which contains dependency DLL info
parse_exports: boolWhether to parse the export table, which contains info about provided functions
Trait Implementations§
Source§impl Clone for ReadConfig
impl Clone for ReadConfig
Source§fn clone(&self) -> ReadConfig
fn clone(&self) -> ReadConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadConfig
impl Debug for ReadConfig
Source§impl Default for ReadConfig
impl Default for ReadConfig
impl Copy for ReadConfig
Auto Trait Implementations§
impl Freeze for ReadConfig
impl RefUnwindSafe for ReadConfig
impl Send for ReadConfig
impl Sync for ReadConfig
impl Unpin for ReadConfig
impl UnsafeUnpin for ReadConfig
impl UnwindSafe for ReadConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more