@@ -675,6 +675,9 @@ SettingState CheckStateToSettingState(CheckState state)
675675 }
676676 }
677677
678+ settings . ScanPrivateMemory = scanPrivateCheckBox . Checked ;
679+ settings . ScanImageMemory = scanImageCheckBox . Checked ;
680+ settings . ScanMappedMemory = scanMappedCheckBox . Checked ;
678681 settings . ScanWritableMemory = CheckStateToSettingState ( scanWritableCheckBox . CheckState ) ;
679682 settings . ScanExecutableMemory = CheckStateToSettingState ( scanExecutableCheckBox . CheckState ) ;
680683 settings . ScanCopyOnWriteMemory = CheckStateToSettingState ( scanCopyOnWriteCheckBox . CheckState ) ;
@@ -697,7 +700,7 @@ private void SetGuiFromSettings(ScanSettings settings)
697700
698701 fastScanCheckBox . Checked = settings . EnableFastScan ;
699702 fastScanAlignmentTextBox . Text = Math . Max ( 1 , settings . FastScanAlignment ) . ToString ( ) ;
700-
703+
701704 CheckState SettingStateToCheckState ( SettingState state )
702705 {
703706 switch ( state )
@@ -711,6 +714,9 @@ CheckState SettingStateToCheckState(SettingState state)
711714 }
712715 }
713716
717+ scanPrivateCheckBox . Checked = settings . ScanPrivateMemory ;
718+ scanImageCheckBox . Checked = settings . ScanImageMemory ;
719+ scanMappedCheckBox . Checked = settings . ScanMappedMemory ;
714720 scanWritableCheckBox . CheckState = SettingStateToCheckState ( settings . ScanWritableMemory ) ;
715721 scanExecutableCheckBox . CheckState = SettingStateToCheckState ( settings . ScanExecutableMemory ) ;
716722 scanCopyOnWriteCheckBox . CheckState = SettingStateToCheckState ( settings . ScanCopyOnWriteMemory ) ;
@@ -865,7 +871,7 @@ internal class InvalidInputException : Exception
865871 public InvalidInputException ( string input )
866872 : base ( $ "'{ input } ' is not a valid input.")
867873 {
868-
874+
869875 }
870876 }
871877}
0 commit comments