Commit Graph

49 Commits

Author SHA1 Message Date
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 666df2e06f * added ObSetHandleAttributes
* ability to set handle flags such as protect-from-close and inherit

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1256 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-10 01:57:45 +00:00
wj32 c7c912d48f fixed M1 terminator test crash
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1255 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-09 12:19:34 +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 7138c92902 bump to 1.3.8.0
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1249 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-09 01:50:22 +00:00
wj32 1384a506d1 * removed KPH ExpGetProcessInformation
* fixed PsTerminateProcess and PspTerminateThreadByPointer scanning for Windows 7 ntoskrnl

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1245 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-08 07:46:54 +00:00
wj32 81860d7d16 fixed corrupted usernames with WTS SIDs caused by improper error handling in GetAccountName
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1242 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-07 08:47:40 +00:00
wj32 f7f00ec782 added MemoryBasicInformation64
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1240 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-06 11:29:34 +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 3d61e33017 * 64-bit no longer produces an error message
* fixed wintrust

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1238 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-06 09:51:28 +00:00
wj32 878533329b small fixes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1237 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-06 06:31:18 +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
wj32 1b7306542b fixed GUIDs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1235 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-06 04:55:49 +00:00
wj32 52ea354823 fixed up some stuff
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1234 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-06 04:48:55 +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 a918279767 Shows function file and line numbers where available
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1230 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-04 09:26:46 +00:00
wj32 a246b21d19 fixed incomplete or inaccurate thread call stacks
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1229 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-04 07:26:36 +00:00
wj32 b332ee23ad added some functions to Functions.cs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1228 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-03 09:39:16 +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 ceff8c7e78 better highlighting
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1225 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-03 00:06:56 +00:00
wj32 b44786cba4 * stopped using ProcessesWithThreads
* fixed unhandled exception when configuring searches

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1214 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-02 05:11:23 +00:00
wj32 5fbd0ba8b9 resurrected GUI thread highlighting which mysteriously disappeared recently
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1204 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-01 10:25:50 +00:00
wj32 637b87bd4d bump to 1.3.7.5
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1202 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-01 09:12:51 +00:00
wj32 47511c0fb9 added the ability to close TCP connections
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1200 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-01 09:03:22 +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 7337b02291 * fixed Start hidden
* fixed GC.AddMemoryPressure and RemoveMemoryPressure bugs

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1168 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-27 07:37:45 +00:00
wj32 32c99c67ed * bump to 1.3.7.3
* added customizable tray icons

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1166 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-27 06:57:59 +00:00
wj32 bfc483402d process tree now loads instantly (ugh, stupid lock statement doesn't even work properly)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1157 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-26 10:28:42 +00:00
wj32 1134c7820a * completely refactored argument code in KPH
* fixed: random file-object-related BSODs
* removed GetObjectName - unsafe, not used
* added Terminate Process Tree

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1147 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-26 00:08:16 +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 8550828731 fixed version numbers, etc.
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1134 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-24 00:51:41 +00:00
wj32 20f2741361 * #2779558 - "TreeViewAdv font cannot be initialized"
* fixed KProcessHacker BSOD on some Vista systems
* added -nokph command line switch to disable KProcessHacker

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1133 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-23 23:41:35 +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 b70370429e * fixed version numbers
* fixed protect/inherit confusion

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1130 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-23 04:42:44 +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
wj32 557503df5a * added some more undocumented defs
* fixed error detection with Native API calls - ThrowLastError() would call Marshal.GetLastWin32Error() which doesn't even apply to Native API calls and would return without throwing an exception, causing random crashes!

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1119 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-22 09:38:30 +00:00
wj32 4dba651028 added ExpGetProcessInformation (not used yet)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1116 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-21 09:01:12 +00:00
wj32 072bddae47 * bump to 1.3.7.0
* fixed disabling KPH
* fixed Win32Handle.Duplicate() and the duplication constructor
* added Process Properties in handle filter window
* fixed hidden processes message and reduced BSODs after process termination

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1112 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-21 02:12:14 +00:00
wj32 2be64a2c0c new virtual memory methods in ProcessHandle; refactored code to use EnumMemory for less repetition
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1111 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-21 01:37:44 +00:00
wj32 c096bdfa33 major refactoring; all Native functions are now in a separate assembly
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1109 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-21 00:39:15 +00:00