Commit Graph

120 Commits

Author SHA1 Message Date
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 6ec40ba5f5 switched to a messaging system - fixed network address resolve bugs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1487 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-28 11:39:57 +00:00
wj32 d01aa90e65 cleanup + removed Hung App feature (does NOT belong in the process name)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1452 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-22 07:05:45 +00:00
flavioe a1401b9d6e Some code improvement.
Added [Not Responding] detection for hung windows.

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1451 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-21 14:59:19 +00:00
wj32 e2121e9d6a more micro-optimization
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1450 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-21 10:39:50 +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 a0e47b7e20 * general cleanup
* added verified signer name (doesn't work for catalogs yet)

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1424 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-16 08:39:40 +00:00
wj32 03b064801d * added FastMutex
* FastMutex is now used to synchronize dbghelp calls, and StackWalk64 calls are now synchronized.
* moved RundownProtection and SpinLock to ProcessHacker.Common.Threading
* some cleanup

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1422 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-15 07:29:30 +00:00
flavioe 3d8417f1ea Using the keyboard (Up/Down/Left/Rigth) on TreeViewAdv now works better.
Minor Changes.
NotImplemented methods now are implemented. 

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1420 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-14 09:45:24 +00:00
wj32 ab0938e89e * added PhysicalPages
* some refactoring in Windows

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1416 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-14 02:07:56 +00:00
wj32 40e736cd63 * refactoring: typos, etc.
* new reference counting system for handles, memory allocations and symbol provider
* added terminal server objects (server, session, process)
* proper SID class
* moved logging into ProcessHacker.Common

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1382 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-07 06:30:47 +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 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 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 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 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 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 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 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 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 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 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 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 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 80fcf7fd80 added Private, Shared and Shareable Working Set columns
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1074 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-16 10:46:08 +00:00
wj32 61d3cbec2d * started NProcessHacker
* renamed the ordinal shell32.dll import to RunFileDlg
* modified tooltips and verify info to work with Re-analyze even if "Verify signatures and perform additional checks" is disabled

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1062 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-15 07:27:24 +00:00
wj32 4fa98825df dbghelp.dll support!
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1047 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-12 10:53:57 +00:00
wj32 6b4123f1a4 * fixed resources for KProcessHacker
* switched KPH to free build
* fixed DEP editing (hopefully) on XP
* added version number to PH Assistant

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1035 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-09 07:50:54 +00:00
wj32 0c8be7c312 added hardcore garbage collection to major memory-eating functions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1018 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-06 09:08:29 +00:00
wj32 ad7691e164 apparently Process Explorer only hides job processes which have JOBOBJECT_LIMIT_SILENT_BREAKAWAY_OK, not JOBOBJECT_LIMIT_BREAKAWAY_OK
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1003 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-03 08:33:04 +00:00
wj32 71ce9c03db * KPH now supports KphWriteVirtualMemory
* revised process opening means that we can now get the command line of audiodg.exe

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@991 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-02 05:38:59 +00:00
wj32 98a01bc8a4 not all job processes are highlighted as such, but job properties are displayed for all relevant processes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@989 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-02 05:01:09 +00:00
wj32 331d515717 job detection works (after 4 hours and 2 BSODs)!
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@977 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-03-31 10:09:37 +00:00
wj32 c6f2ee9604 future-proofed process creation time checking
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@973 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-03-30 05:50:08 +00:00