Commit Graph

37 Commits

Author SHA1 Message Date
wj32 73abc16546 * x64: stack walking works
* x64: WOW64 stack walking works, but no symbols
* x64: fixed dbghelp.dll auto-detection
* updated Help.htm, HACKING.txt, README.txt
* PH output now shows whether the system is 32- or 64-bit
* fixed no symbols for protected processes (System) without KPH

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1695 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-11 09:47:21 +00:00
wj32 29a5b6f67a added KphSsQueryClientEntry, fixed critical handle referencing bugs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1639 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-27 08:37:33 +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 72d38eea0f * fixed APC delegate
* more progress on native.html

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1608 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-16 06:30:32 +00:00
wj32 9ba45dc25b improved Waiter
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1605 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-15 08:41:33 +00:00
wj32 d01405fb6f WalkStack should not use KphReadVirtualMemoryUnsafe
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1564 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-07 08:34:14 +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 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 4cd6d4429f thread list improvements and fixes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1522 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-04 08:21:42 +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 e478bcc43d added better APC queueing
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1512 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-03 11:32:24 +00:00
wj32 b4cabe132f learned a bit more about LPC
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1511 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-03 10:14:15 +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 601d0c971f fixed kernel stack traces for XP - 62 frame limit
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1444 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-21 01:07:12 +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 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 10113a1831 added KphUnsafeReadVirtualMemory, fixed very rare BSOD
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1425 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-16 11:18:39 +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
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 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 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 6c78a14b71 * added ThreadHandle.AlertResume
* enhanced ThreadHandle.Suspend and Resume

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1260 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-10 10:00:21 +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 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
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 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 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 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