Commit Graph

249 Commits

Author SHA1 Message Date
wj32 5b43da8675 some refactoring
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1314 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-22 05:12:58 +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 03db5a1fd2 * removes protection when the process is terminated
* new ObOpenObjectByPointer now checks if the object is a process/thread
* calling ProtectRemove and ProtectQuery no longer initializes process protection if it hasn't been initialized

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1295 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-18 08:24:49 +00:00
wj32 9c669d2b66 fixed .NET processes getting recognized as packed
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1262 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-11 07:27:14 +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 c5ff212f90 creation times for all processes (no more "20 centuries ago")
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1250 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-09 01:56:53 +00:00
wj32 0776d13f36 * added WorkItem tags
* removed UseInvoke from Provider

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1248 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-09 01:29:45 +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 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
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 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 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 863b7db02d * fixed unhandled exception when pressing enter in memory list
* no more inconsistent state highlighting

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1224 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-02 23:43:43 +00:00
wj32 a3410f1099 fixed packed image detection
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1219 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-02 08:58:10 +00:00
wj32 0d109c2f88 * ServiceItems are no longer cloned unless necessary
* PEFile-related strings are no longer read when analyzing for packed executables

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1218 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-02 08:32:17 +00:00
wj32 5214f93f2e added option to hide PH network connections
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1216 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-02 07:16:24 +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 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 6bc5b5de52 fixed incorrect thread start addresses
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1197 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-28 11:13:43 +00:00
wj32 04e7c489e0 fixed "Collection was modified" exceptions in ServiceProvider
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1193 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-28 07:47:00 +00:00
wj32 95d4073d7f * simplified tree model code
* fixed PH on XP not retrieving process file names
* resolved some unnoticed unhandled exceptions

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1192 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-28 07:42:03 +00:00
wj32 510e15a644 added EnumComparer to reduce boxing
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1189 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-28 05:21:07 +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 5a8ae1083e fixed delay when loading thread list
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1180 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-27 22:58:36 +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 c595141f97 more WorkQueue uses
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1171 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-27 10:19:42 +00:00
wj32 086ad197c6 * removed InterlockedExecute for ProcessTree
* now using WorkQueue

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1170 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-27 10:14:18 +00:00
wj32 86bc76671b * fixed network list icons
* if a network connection is the last for its process and it is removed, the icon will no longer be blank

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1160 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-27 00:50:45 +00:00
wj32 65698296c6 fixed blocked finalizer thread due to COM calls being made in a MTA thread instead of STA
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1159 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-27 00:14:39 +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 656a6729a2 fixed some provider synchronization issues
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1150 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-26 02:23:43 +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 72c486b48c * bump to 1.3.7.1
* got rid of Program.CurrentProcess
* added diagnostic info
* fixed new HandleProviders not being added to the SecondarySharedThreadProvider

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1131 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-23 05:49:50 +00:00
wj32 924ba749aa slightly less CPU usage
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1125 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-23 00:24:54 +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 15656c9e3d * updated help
* memory list is much, much faster now

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1120 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-22 12:12:35 +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 76ecb45b5e changed thread start threshold to 0x40000
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1115 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-21 04:16:10 +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
wj32 3189dedb1d * added ThreadPool thread limit (10)
* removed hWnd option from SymbolServerSetOptions (the EULA box never gets shown)

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1097 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-19 04:50:45 +00:00
wj32 ed7f6135ab * fixed version comparison functions
* stack viewing uses KProcessHacker on Windows Vista
* removed register list from the thread window

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1093 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-19 02:26:15 +00:00
wj32 2834affe18 * support for Windows 7 in KProcessHacker
* new Windows version system for Process Hacker

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1092 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-19 00:24:27 +00:00
wj32 9d32a70d4f removed test code from ProcessSystemProvider
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1086 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-18 03:30:13 +00:00
wj32 e3776047e0 added Count property to SharedThreadProvider
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1082 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-17 23:17:03 +00:00
wj32 83ff30039b new KPH I/O control: ZwQueryObject
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1080 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-17 11:45:17 +00:00