Commit Graph

132 Commits

Author SHA1 Message Date
wj32 eb73a9d725 * renamed GetNativeImageFileName to GetImageFileName, GetImageFileName to GetImageFileNameWin32
* GetImageFileNameWin32 doesn't use QueryFullProcessImageName

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2123 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-11 02:52:50 +00:00
wj32 4ea71eaced completely new PE reader implementation
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2038 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-03 04:02:51 +00:00
wj32 3b8c01aa4d refactored FileUtils.cs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1937 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-25 07:24:19 +00:00
wj32 812bf5f300 * fixed relative start time sort order
* removed GetDateTimeFromLongTime; use DateTime.FromFileTime instead
* ProcessHandle.GetCreateTime and GetExitTime both return DateTimes now

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1892 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-18 06:34:45 +00:00
wj32 5a18962835 partially rewrote the process tree model; improves memory and CPU usage
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1846 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-05 04:16:46 +00:00
wj32 75d53cd8a2 * code cleanup
* fixed case of closing IP info window before the thread has finished

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1817 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-02 05:51:33 +00:00
wj32 215e8ec17f added missing try in ProcessSystemProvider.cs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1812 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-01 09:27:02 +00:00
wj32 6c6f3c2fa7 * more stuff is done in process query stages (used to be "file processing" stages)
* removed STA hack for .NET process detection

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1807 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-01 07:29:02 +00:00
wj32 46fa9747ec performance tweaks
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1735 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-22 11:12:09 +00:00
wj32 be022d5ce2 x64: fixed POSIX process detection
x64: added highlighting for WOW64 processes
x64: added display of 32-bit modules in WOW64 processes
x64: fixed symbols for WOW64 processes
x64: stack traces for WOW64 processes now include the 64-bit stack

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1701 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-12 10:35:13 +00:00
wj32 d551452839 * moved back to AnyCPU
* fixed several native API struct definitions; process enumeration is working on native x64

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1681 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-09 11:02:45 +00:00
wj32 111dbcce1d refactoring + more docs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1620 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-21 11:45:47 +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 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