Commit Graph

53 Commits

Author SHA1 Message Date
wj32 3091b88b28 improved the terminator tests
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1558 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-06 09:56:20 +00:00
wj32 ba2a798830 current process handles are now static
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1552 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-05 08:46:32 +00:00
wj32 32cc58bcbd native-ization
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1550 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-05 08:28:37 +00:00
wj32 a54e23feeb * can now unload modules cross-session
* can destroy heaps cross-session
* added some thread functions

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1548 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-05 05:40:46 +00:00
wj32 62a38b8415 * added RTL-based debugging classes
* switched to the null coalescing operator

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1541 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-05 04:01:42 +00:00
wj32 e717e6b823 highlighting for .NET and relocated DLLs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1539 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-05 02:45:23 +00:00
wj32 b1a6d7a443 reduced the number of BaseObject finalizer runs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1534 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-04 12:55:48 +00:00
wj32 710682a5ab made lots of classes sealed
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1526 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-04 09:44:36 +00:00
wj32 eb44b7e6b9 * fixed InvalidCastException when attempting to close handles in the handle filter window
* added working native process creation code

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1518 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-04 03:19:31 +00:00
wj32 92fcdd1874 * fixed handle tracing code
* added ProcessAnalyzer
* two solutions: main PH program and extra tools

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1494 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-30 10:46:38 +00:00
wj32 d98587973c added handle tracing code
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1488 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-29 10:13:33 +00:00
wj32 3d8e9894c2 Terminator test: TT4 (dangerous thread termination)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1467 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-25 10:26:50 +00:00
wj32 2dcb035caa fixed CreateRemoteThread def
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1464 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-25 07:51:51 +00:00
wj32 8afedc823e two new terminator tests
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1459 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-24 10:33:26 +00:00
wj32 fe52a61b6b * kernel-mode stack traces!
* pool tag cleanup

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1439 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-20 23:41:17 +00:00
wj32 a17e10d425 * added KphQueryProcessHandles
* added KphOpenThreadProcess
* hidden processes scanner can now detect FUTo
* KPH cleanup - added argument attributes
* improved auto-ForeColor

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1436 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-20 02:47:04 +00:00
wj32 1d72ebb6b6 * Fixed: broken Ctrl+A for memory, results, and PE lists
* POSIX process support, including command lines and highlighting
* Automatic tree text coloring, allowing for dark highlighting colors

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1434 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-19 09:56:44 +00:00
wj32 a0ecb1c49d Ability to set DEP status of processes in other sessions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1432 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-19 06:58:46 +00:00
wj32 67e56d64bb added IoCompletionHandle
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1377 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-06 01:32:53 +00:00
wj32 2c3c8a402f added ability to detach processes from debuggers
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1376 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-06 00:53:45 +00:00
wj32 88e6201497 Added ability to create dump files for processes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1366 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-01 12:11:05 +00:00
wj32 a1869c6bdf * refactored affinity code
* fully documented ProcessHandle

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1365 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-01 10:50:07 +00:00
wj32 0eb394ca33 fixed all compiler warnings
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1359 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-01 07:08:16 +00:00
wj32 ce24964325 major refactoring - utility functions are now in a separate library and SymbolProvider is now in ProcessHacker.Native
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1355 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-31 11:05:47 +00:00
wj32 28d89099c6 * added timer properties
* refactored handle code
* fixed time bugs in handle code
* added wrapper synchronization object classes

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1347 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-30 05:26:35 +00:00
wj32 7a558a54b2 * added thread wait analyzer
* moved thread stack walking into ProcessHacker.Native

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1331 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-28 07:51:16 +00:00
wj32 674b81274a * fixed: "Access denied" when changing DEP status or unloading a module on Windows XP
* fixed Win32Handle.Wait

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1310 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-22 02:19:13 +00:00
wj32 860d7b751d * dynamic PEB offsets
* hooking/unhooking is now completely safe on multi-processor systems

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1303 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-21 06:13:09 +00:00
wj32 2199520ed5 * moved native API definitions into separate files
* added remaining NT objects
* added NtStatus enum
* added Semaphore properties
* added ObjectFlags to every object
* other refactoring

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1301 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-20 07:05:02 +00:00
wj32 e6e7d4d0d0 added handle objects for directories, events, event pairs, mutants and symbolic links!
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1299 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-19 10:52:15 +00:00
wj32 b2a8c06587 refactoring
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1283 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-15 23:33:32 +00:00
wj32 f028ca4ca6 * Terminator test: TD1 (debugs a process and closes the debug object)
* added DebugObjectHandle
* added copyright headers

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1259 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-10 09:29:40 +00:00
wj32 6eaaa3deb8 * added KphSetHandleGrantedAccess; KPH can finally bypass all protected process restrictions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1254 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-09 11:57:47 +00:00
wj32 25cfaf3415 removed all traces of goddamn AllocCoTaskMem
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1253 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-09 04:04:51 +00:00
wj32 517d8c4f0f forgot SetModuleReferenceCount
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1252 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-09 03:55:53 +00:00
wj32 7fe12925a0 fixed some ProcessHandle things
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1251 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-09 03:50:05 +00:00
wj32 9edcffcc62 fixed many bugs post-IntPtr-migration
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1239 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-06 11:22:22 +00:00
wj32 98c2093f16 PH now compiles again
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1236 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-06 05:29:56 +00:00
flavioe 2106d2a2e6 changed API definitions to use IntPtr instead of int
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1233 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-05 22:05:59 +00:00
wj32 f8dff6b9f2 started custom process creation
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1227 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-03 07:51:10 +00:00
wj32 741af29084 * KProcessHacker can now perform process memory reading/writing by itself and does not require MmCopyVirtualMemory
* added KphAssignImpersonationToken
* added KphAcquireProcessRundownProtection and KphReleaseProcessRundownProtection
* added some impersonation code

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1226 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-03 07:03:02 +00:00
wj32 f4914cd679 #2782808 - "Exception generated when CPU History is set to first column."
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1199 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-29 05:46:24 +00:00
wj32 2f91b5c355 fixed DEP status information for OptOut mode
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1198 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-29 05:20:43 +00:00
wj32 b9f6b0bbf4 new columns: base priority, start time, relative start time, total cpu time, kernel cpu time, user cpu time
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1182 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-28 00:34:49 +00:00
wj32 e36bc2f107 * fixed the tiny gaps at the ends of longdata plotters
* added GetBasePriority to process and thread handles
* fixed options & process windows not getting initialized

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1175 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-27 11:10:41 +00:00
wj32 56a3556768 * fixed some enums
* added more functions in ProcessHandle and ThreadHandle
* added integrity, I/O priority and page priority columns
* added sorting to WS columns
* improved the perceived responsiveness of several components
* removed Program.UpdateWindows()
* added thread exception handler for debug builds

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1141 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-25 03:12:22 +00:00
wj32 47dc74121f * added No as the default button for the prompt when terminating threads
* removed useless warning in HiddenProcessesWindow
* fixed version numbers

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1140 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-25 00:50:47 +00:00
wj32 1738084b68 * fixed possible stack memory corruption with IsRemoteDebuggerPresent
* fixed ThrowLastError in ProcessHandle.Suspend()

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1132 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-23 10:00:36 +00:00
wj32 e5a764be10 * added IsCritical() function to ProcessHandle
* process action prompts now display a special message for critical processes

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1126 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-23 02:38:09 +00:00
wj32 d7f161dfbd * added handle highlighting
* fixed module tri-state sorting
* fixed memory "Show free regions" checkbox
* removed redundant module code from ProcessHandle

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1122 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-22 23:35:22 +00:00