ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/Win32/Sojaner.MemoryScanner/MemoryScanner.cs
Revision 889 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 17 04:55:52 2014 UTC (9 years, 2 months ago) by william
File length: 35677 byte(s)
Diff to previous 812 (colored)

Revision 812 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 15 14:52:10 2014 UTC (9 years, 7 months ago) by william
File length: 35684 byte(s)
Diff to previous 807 (colored)
+ update logging to use Enterpise.Logging -- more work is still needed

Revision 807 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 7 12:55:47 2014 UTC (9 years, 7 months ago) by william
File length: 35621 byte(s)
Diff to previous 686 (colored)
+ fix memoryscanner when reading process memory at once for UIMemoryViewer:
** read 16 bytes at a time (this way data won't disseapper from the memory view)

Revision 686 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 17 09:31:52 2013 UTC (10 years, 5 months ago) by william
File length: 38950 byte(s)
Diff to previous 657 (colored)
+ massive move of source files

Revision 657 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 9 04:03:36 2013 UTC (10 years, 5 months ago) by william
File length: 38926 byte(s)
Diff to previous 656 (colored)
fix ram dump to file:
* dump memory in 32mb chunks, this fixes issues with not being able to hold over 2GB in managed objects

Revision 656 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 9 02:08:32 2013 UTC (10 years, 5 months ago) by william
File length: 38009 byte(s)
Diff to previous 600 (colored)

Revision 600 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 7 10:27:53 2013 UTC (10 years, 5 months ago) by william
File length: 38851 byte(s)
Diff to previous 599 (colored)

Revision 599 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 7 09:55:01 2013 UTC (10 years, 5 months ago) by william
File length: 38684 byte(s)
Diff to previous 598 (colored)

Revision 598 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 7 09:40:01 2013 UTC (10 years, 5 months ago) by william
File length: 38426 byte(s)
Diff to previous 578 (colored)

Revision 578 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 6 08:18:44 2013 UTC (10 years, 5 months ago) by william
File length: 38326 byte(s)
Diff to previous 576 (colored)

Revision 576 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 6 07:49:01 2013 UTC (10 years, 5 months ago) by william
File length: 38286 byte(s)
Diff to previous 575 (colored)

Revision 575 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 6 07:46:38 2013 UTC (10 years, 5 months ago) by william
File length: 38278 byte(s)
Diff to previous 543 (colored)

Revision 543 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 5 21:33:24 2013 UTC (10 years, 5 months ago) by william
File length: 38241 byte(s)
Diff to previous 521 (colored)

Revision 521 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 5 07:06:53 2013 UTC (10 years, 5 months ago) by william
File length: 37583 byte(s)
Diff to previous 519 (colored)

Revision 519 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 5 04:40:00 2013 UTC (10 years, 5 months ago) by william
File length: 37588 byte(s)
Diff to previous 518 (colored)

Revision 518 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 5 04:31:26 2013 UTC (10 years, 5 months ago) by william
File length: 37589 byte(s)
Diff to previous 517 (colored)
+ fix update speed of progress logging to amount of memory read

Revision 517 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 5 03:49:00 2013 UTC (10 years, 5 months ago) by william
File length: 37586 byte(s)
Diff to previous 513 (colored)

Revision 513 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 5 00:46:53 2013 UTC (10 years, 5 months ago) by william
File length: 37587 byte(s)
Diff to previous 493 (colored)

Revision 493 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 3 22:18:34 2013 UTC (10 years, 5 months ago) by william
File length: 37586 byte(s)
Diff to previous 477 (colored)
MemoryScanner: ReadMemory (mem.read() -> was not updating bitData)

Revision 477 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 3 18:35:45 2013 UTC (10 years, 5 months ago) by william
File length: 37506 byte(s)
Diff to previous 471 (colored)
revert r471: pass process informatin by using the process's PID, instead of passing the process as a reference

+ pass the process instead
Revision 471 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 3 07:13:44 2013 UTC (10 years, 5 months ago) by william
File length: 39836 byte(s)
Diff to previous 446 (colored)
+ pass process informatin by using the process's PID, instead of passing the process as a reference

Revision 446 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 2 19:52:03 2013 UTC (10 years, 6 months ago) by william
File length: 37506 byte(s)
Diff to previous 429 (colored)
+ fix search cancel/reset

Revision 429 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 28 15:16:05 2013 UTC (10 years, 6 months ago) by william
File length: 37206 byte(s)
Diff to previous 428 (colored)
+ fix search so that the result count(s) match

Revision 428 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 28 13:32:28 2013 UTC (10 years, 6 months ago) by william
File length: 37133 byte(s)
Diff to previous 427 (colored)
+ fix memory scanner and memory providers to read and write process memory simulataneously without crashing due to null process handle
*** this has been done using ProcessMemoryChunk for all memory read/write operations
** we no longer need to open and close native handles to the process

Revision 427 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 28 12:39:42 2013 UTC (10 years, 6 months ago) by william
File length: 35364 byte(s)
Diff to previous 425 (colored)
only disable: #define LOGGING_ENABLE_PROFILER
in MemoryScanner.cs

Revision 425 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 28 12:33:14 2013 UTC (10 years, 6 months ago) by william
File length: 35362 byte(s)
Diff to previous 419 (colored)

Revision 419 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 28 11:08:26 2013 UTC (10 years, 6 months ago) by william
File length: 34855 byte(s)
Diff to previous 415 (colored)
+ stop complaining about exception variables not being used:  changed from 'throw;' to 'throw ex;'
+ comment-out currently unsued variables:
 FloatingMemorySearcher.cs:
  static int col_Found_Frozen = 3;
  static int col_Added_Frozen = 3;
 MemoryScanner.cs:
  SafeWaitHandle m_hProcess;

Revision 415 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 22 08:33:51 2012 UTC (11 years, 5 months ago) by william
File length: 34840 byte(s)
Diff to previous 414 (colored)

Revision 414 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 22 08:21:18 2012 UTC (11 years, 5 months ago) by william
File length: 34863 byte(s)
Diff to previous 411 (colored)

Revision 411 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 21 21:07:34 2012 UTC (11 years, 5 months ago) by william
File length: 34437 byte(s)
Diff to previous 409 (colored)

Revision 409 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 21 20:02:40 2012 UTC (11 years, 5 months ago) by william
File length: 34475 byte(s)
Diff to previous 408 (colored)

Revision 408 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 21 18:10:21 2012 UTC (11 years, 5 months ago) by william
File length: 34537 byte(s)
Diff to previous 404 (colored)

Revision 404 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 21 12:51:57 2012 UTC (11 years, 5 months ago) by william
File length: 33809 byte(s)
Diff to previous 399 (colored)

Revision 399 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 20 13:24:49 2012 UTC (11 years, 5 months ago) by william
File length: 31420 byte(s)
Diff to previous 398 (colored)

Revision 398 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 20 12:16:34 2012 UTC (11 years, 5 months ago) by william
File length: 31419 byte(s)
Diff to previous 393 (colored)
MemmoryProvider: using statements

Revision 393 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 20 10:40:24 2012 UTC (11 years, 5 months ago) by william
File length: 31361 byte(s)
Diff to previous 387 (colored)
ReadMemoryAtOnce(): don't attempt to buffer the data

Revision 387 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 19 11:54:38 2012 UTC (11 years, 5 months ago) by william
File length: 31348 byte(s)
Diff to previous 378 (colored)
use Buffer.BlockCopy in ReadMemoryAtOnce

Revision 378 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 19 07:56:36 2012 UTC (11 years, 5 months ago) by william
File length: 30824 byte(s)
Diff to previous 370 (colored)
use uint instead of int for memory addresses

Revision 370 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 10 05:40:24 2012 UTC (11 years, 5 months ago) by william
File length: 30792 byte(s)
Diff to previous 366 (colored)
+ add support to write ascii character when memory region cannot be read

Revision 366 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 10 03:14:42 2012 UTC (11 years, 5 months ago) by william
File length: 18981 byte(s)
Diff to previous 354 (colored)

Revision 354 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 9 21:46:37 2012 UTC (11 years, 5 months ago) by william
File length: 18975 byte(s)
Diff to previous 352 (colored)

Revision 352 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 9 21:11:02 2012 UTC (11 years, 5 months ago) by william
File length: 17851 byte(s)
Diff to previous 351 (colored)

Revision 351 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 9 20:52:19 2012 UTC (11 years, 5 months ago) by william
File length: 18930 byte(s)
Diff to previous 350 (colored)

Revision 350 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 9 20:07:18 2012 UTC (11 years, 5 months ago) by william
File length: 17207 byte(s)
Diff to previous 286 (colored)
+redeclaration

Revision 286 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 5 02:19:13 2012 UTC (11 years, 5 months ago) by william
File length: 16327 byte(s)
Diff to previous 284 (colored)
+ more wip

Revision 284 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 5 01:50:38 2012 UTC (11 years, 5 months ago) by william
File length: 16249 byte(s)
Diff to previous 257 (colored)
use SafeWaitHandle in when closing process handle

Revision 257 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 3 16:51:35 2012 UTC (11 years, 5 months ago) by william
File length: 15944 byte(s)
Diff to previous 254 (colored)
set internal access specifier on ProcessMemoryReader class (must use memory provider classes)

Revision 254 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 3 16:44:42 2012 UTC (11 years, 5 months ago) by william
File length: 15942 byte(s)
Diff to previous 249 (colored)
ReadProcessMemory(): byte[] buffer = new byte[] { }; ==> byte[] buffer = new byte[bytesToRead]; (the lack of capacity was causing errors to be thrown)

Revision 249 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 3 16:09:05 2012 UTC (11 years, 5 months ago) by william
File length: 15935 byte(s)
Diff to previous 248 (colored)
change address from uint to int

Revision 248 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 3 15:28:16 2012 UTC (11 years, 5 months ago) by william
File length: 15284 byte(s)
Diff to previous 247 (colored)

Revision 247 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 3 15:27:23 2012 UTC (11 years, 5 months ago) by william
File length: 15280 byte(s)
Diff to previous 245 (colored)
+ catch, log and throw errors

Revision 245 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 3 14:50:09 2012 UTC (11 years, 5 months ago) by william
File length: 13779 byte(s)
Diff to previous 235 (colored)
+ add exception logic to ensure provider is open

Revision 235 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 3 12:44:26 2012 UTC (11 years, 5 months ago) by william
File length: 17657 byte(s)
Diff to previous 231 (colored)
change int in method to uint

Revision 231 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 3 12:36:47 2012 UTC (11 years, 5 months ago) by william
File length: 17701 byte(s)
Diff to previous 229 (colored)
+ overhaul memory scanner

Revision 229 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 2 18:31:40 2012 UTC (11 years, 6 months ago) by william
File length: 31159 byte(s)
Diff to previous 204 (colored)

Revision 204 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 31 09:08:24 2012 UTC (11 years, 6 months ago) by william
File length: 19257 byte(s)
Diff to previous 203 (colored)
DumpMemoryToByteArray(): set byte_alignment to 1

Revision 203 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 31 09:03:53 2012 UTC (11 years, 6 months ago) by william
File length: 19255 byte(s)
Diff to previous 200 (colored)
+ add support to automatically goto the first address that has a non-zero byte

Revision 200 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 31 07:29:44 2012 UTC (11 years, 6 months ago) by william
File length: 14889 byte(s)
Diff to previous 198 (colored)

Revision 198 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 31 07:13:43 2012 UTC (11 years, 6 months ago) by william
File length: 14883 byte(s)
Diff to previous 169 (colored)
+ initial support for memoryview and getting ram from process for display

Revision 169 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 28 08:49:42 2012 UTC (11 years, 6 months ago) by william
File length: 10869 byte(s)
Diff to previous 167 (colored)
+ add success/failure messages for ram dump

Revision 167 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 28 08:31:56 2012 UTC (11 years, 6 months ago) by william
File length: 9949 byte(s)
Diff to previous 166 (colored)
+ fix memory dump when bytes to read is less than buffer amount

Revision 166 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 28 08:14:02 2012 UTC (11 years, 6 months ago) by william
File length: 9041 byte(s)
Diff to previous 164 (colored)
DumpMemory(): write out using 100mb blocks

Revision 164 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 28 07:49:48 2012 UTC (11 years, 6 months ago) by william
File length: 9025 byte(s)
Diff to previous 162 (colored)

Revision 162 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 28 07:12:37 2012 UTC (11 years, 6 months ago) by william
File length: 9017 byte(s)
Diff to previous 156 (colored)
+ add support to dump ram to file (even if it is ~2gb or more)

Revision 156 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 28 04:14:03 2012 UTC (11 years, 6 months ago) by william
File length: 6560 byte(s)
Diff to previous 88 (colored)
+ add support for selecting process by different means

Revision 88 - (view) (download) (annotate) - [select for diffs]
Added Wed May 9 20:52:20 2012 UTC (11 years, 6 months ago) by william
File length: 5985 byte(s)

Convenience Links

Links to HEAD: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a