Commit Graph

85 Commits

Author SHA1 Message Date
wj32 db9a5ce312 removed GetCurrentProcess, fixed CreateThread return value
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1935 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-24 09:17:25 +00:00
wj32 35d8aeb91f reverted r1925, r1926, r1929
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1931 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-24 01:32:09 +00:00
dmex04 d6807bdf2a added SuppressUnmanagedCodeSecurity attribute - The stack walk performed when calling unmanaged code is omitted at run time, resulting in substantial performance savings.
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1929 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-23 20:44:50 +00:00
dmex04 8ef9ee8eaa added missing native enums for Thread/Process priority, fixed/updated native functions per msdn documentation... returned Thread/Process priority is now correct (compared with PE/Taskman) however PH-UI doesn't consistently show the correct values for every process
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1925 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-23 12:08:23 +00:00
wj32 f0a3520f20 refactored native error handling
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1908 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-21 07:41:12 +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 8c91232567 * almost completed LSA classes (still need a LsaSecretHandle class)
* due to the new LSA classes, the Run As window displays users without being UAC elevated

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1890 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-17 09:06:55 +00:00
wj32 6d6e84f7fc added all LSA access masks; preparing for LSA API
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1888 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-15 09:39:45 +00:00
wj32 621fee758a * switched to native I/O functions
* added some support for asynchronous I/O

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1870 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-12 02:08:20 +00:00
wj32 81c9935686 * Assistant now sends error codes back to Process Hacker, providing useful error messages
* added MailslotHandle

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1860 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-07 08:36:15 +00:00
wj32 d19ed4588c reduced usage of StringBuilder to reduce heap allocations
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1853 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-05 09:48:12 +00:00
wj32 5cc7ed279a fixed API declarations
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1837 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-03 06:43:34 +00:00
dmex04 c6f25992f5 added missing ai_family enum definition, fixed api declarations
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1834 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-03 02:10:57 +00:00
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 521e71ce53 x64: fixed injecting and unloading DLLs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1690 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-10 09:50:31 +00:00
wj32 de0d494e17 fixed Sid.FromAccountName
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1616 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-21 04:14:35 +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 055f20dbc3 private heap for PH
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1607 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-15 10:36:11 +00:00
wj32 7cf5dfa267 * added PrivateNamespaceHandle
* created AccessControl namespace

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1589 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-12 06:24:39 +00:00
wj32 aa84ac8e60 added NativeUtils and some winsta methods
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1586 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-11 10:32:10 +00:00
wj32 0ca6e065ba added ShellAbout
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1583 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-11 07:21:12 +00:00
wj32 a8a64d097a more native-ization
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1578 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-11 01:40:29 +00:00
wj32 d147fcde75 refactoring in WindowHandle
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1577 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-11 00:43:28 +00:00
wj32 5a99b6cbb5 added WindowHandle
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1574 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-10 07:46:16 +00:00
wj32 6a73e84bda cleanup + added WindowPlacementFlags
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1573 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-10 06:55:18 +00:00
deanme 78bddfb787 added GetWindowPlacement api
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1571 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-09 09:01:11 +00:00
wj32 0889de3d26 fixed pvt. memory indicator color in the process window
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1565 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-08 08:55:04 +00:00
wj32 7c39cd6846 added Dump memory menu item
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1554 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-05 09:39:35 +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 07fe1a8974 removed stupid MemoryAllocs in TokenHandle.cs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1533 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-04 12:17:02 +00:00
wj32 ebd1faa508 header changes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1520 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-04 05:40:15 +00:00
wj32 b8572f1557 added pool limits display
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1517 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-04 01:58:11 +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 4248bb65dd child windows float by default
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1480 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-28 01:58:43 +00:00
wj32 efb9d71ad1 some experiments with file handles
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1475 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-27 04:28:21 +00:00
wj32 67a93a83d4 * ability to create services
* better HandleTable + SecuredHandleTable

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1470 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-26 10:53:00 +00:00
wj32 2dcb035caa fixed CreateRemoteThread def
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1464 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-25 07:51:51 +00:00
wj32 0300fc1d0e thread wait analysis now detects NtQueryObject hangs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1463 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-25 06:55:13 +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 556985c6b2 Fixed: Get Function Address window would return incorrect hex addresses
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1428 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-17 10:53:13 +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 42d0f5d4de * process windows are threaded again!
* PH now remains for the same amount of time as PE when logging off/shutting down

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1417 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-14 03:39:42 +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 7d9bc16437 added HandleTable; renamed DisposableObject to BaseObject
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1409 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-13 00:11:54 +00:00
wj32 1f912d327a added PrivilegeSet
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1408 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-11 11:40:00 +00:00
wj32 eb00907f40 * added authid in token object names
* added Advanced tab in token properties
* new TokenPrivilege class for more OO

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1406 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-09 11:33:19 +00:00
wj32 1012e9588d target window workaround for elevated processes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1396 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-08 08:00:42 +00:00
wj32 f29266610d added window process finder
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1388 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-07 11:54:56 +00:00