File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,7 +118,18 @@ private void UpdateListOfProcesses()
118118 {
119119 if ( ! process . ProcessName . ToLower ( ) . Contains ( TextBox_ProcessFilter . Text ) ) continue ;
120120
121- var bits = ProcessManager . Is32BitProcess ( process ) ? "x32" : "x64" ;
121+ bool is32 = false ;
122+
123+ try
124+ {
125+ is32 = ProcessManager . Is32BitProcess ( process ) ;
126+ }
127+ catch
128+ {
129+ continue ;
130+ }
131+
132+ var bits = is32 ? "x32" : "x64" ;
122133 ViewModel . Processes . Add ( $ "{ process . ProcessName } , ({ bits } ), Id: { process . Id } ") ;
123134 }
124135
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ public Memory(IntPtr procHandle)
2020 {
2121 PointerStaticMinValue = 0x10000000 ;
2222 PointerStaticMaxValue = 0xF0000000 ;
23- PointerMinValue = 0x10000 ;
24- PointerMaxValue = 0x100000 ;
23+ PointerMinValue = 0x10000 ;
24+ PointerMaxValue = 0xF0000000 ;
2525 PointerLength = 4 ;
2626 ProcHandle = procHandle ;
2727 }
You can’t perform that action at this time.
0 commit comments