Commit Graph

91 Commits

Author SHA1 Message Date
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 b75b894ffa changed line display
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1372 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-05 10:33:40 +00:00
wj32 07fdff8b5c added WaiterThread
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1371 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-05 09:48:53 +00:00
wj32 028e4f14fb changed KProcessHacker constructor
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1370 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-05 06:24:50 +00:00
wj32 88e6201497 Added ability to create dump files for processes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1366 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-01 12:11:05 +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 c7768f0467 added "clarification" to NativeHandle.Wait
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1362 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-01 09:16:26 +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 2b0e77311a fixed infinite wait functions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1357 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-01 06:43:26 +00:00
wj32 17a73f7e77 enabled XML doc for ProcessHacker.Common and ProcessHacker.Native
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1356 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-01 06:23:15 +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 e16bc7b506 * added event pair "properties"
* fixed event pair wait detection

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1354 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-31 00:05:28 +00:00
wj32 6ff1e03e15 more additions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1352 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-30 11:21:27 +00:00
wj32 ae5432f7cd improved SpinLock performance
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1351 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-30 07:12:45 +00:00
wj32 66dbc4cf38 fixed SpinLock
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1350 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-30 06:29:21 +00:00
wj32 2bf4cf0c19 * removed event handle in WorkQueue and switched to Monitor.Wait/Pulse
* updated copyright headers
* added SpinLock

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1349 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-30 06:20:44 +00:00
wj32 6ce92df241 fixed CurrentThread.Sleep(int)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1348 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-30 05:28:26 +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 5fd3efb94f bump to 1.3.8.5
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1337 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-28 11:28:47 +00:00
wj32 55fff11df8 added named pipe hang detection
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1334 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-28 11:13:04 +00:00
wj32 c14ae0f4c1 new handle properties window
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1332 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-28 10:55:11 +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 850f6be11b fixed namespaces
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1321 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-23 09:18:26 +00:00
wj32 64fb331dbc * added NtObjects
* fixed DirectoryHandle.GetObjects
* bump to 1.3.8.1

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1318 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-22 09:41:54 +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 bf3e7d0f95 fixed self-termination by switching to NtDeviceIoControlFile
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1312 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-22 03:16:21 +00:00
wj32 ebecb96597 improved synchronization methods, added UserHandle
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1311 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-22 02:50:49 +00:00
wj32 674b81274a * fixed: "Access denied" when changing DEP status or unloading a module on Windows XP
* fixed Win32Handle.Wait

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1310 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-22 02:19:13 +00:00
wj32 34cc9c183b added security descriptor code (although the security editor doesn't work yet)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1307 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-21 11:05:58 +00:00
wj32 860d7b751d * dynamic PEB offsets
* hooking/unhooking is now completely safe on multi-processor systems

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1303 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-21 06:13:09 +00:00
wj32 2f9425d2e4 fixed typo and reorganized some enums
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1302 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-20 07:23:59 +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 396e0538e4 added semaphore and timer objects
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1300 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-19 11:43:39 +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 171674811b added Access definitions for many more NT objects
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1298 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-19 08:47:59 +00:00
wj32 c3625ea5fc * changed error when terminating self to STATUS_CANT_TERMINATE_SELF
* fixed some outdated comments
* added lots of defs to NProcessHacker KPH
* added test program

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1297 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-19 08:25:38 +00:00
wj32 fdab46f9b0 added option to protect from kernel-mode callers
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1292 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-17 10:55:05 +00:00
wj32 91d061b663 added experimental feature: protect processes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1287 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-17 02:59:06 +00:00
wj32 9f709a1308 someone here is an idiot who doesn't know how to write p/invoke definitions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1286 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-16 09:54:41 +00:00
wj32 3283d832a3 Fixed: Unable to change service configurations
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1285 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-16 00:02:17 +00:00
wj32 b2a8c06587 refactoring
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1283 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-15 23:33:32 +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 f028ca4ca6 * Terminator test: TD1 (debugs a process and closes the debug object)
* added DebugObjectHandle
* added copyright headers

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1259 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-10 09:29:40 +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 c7c912d48f fixed M1 terminator test crash
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1255 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-09 12:19:34 +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 517d8c4f0f forgot SetModuleReferenceCount
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1252 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-09 03:55:53 +00:00
wj32 7fe12925a0 fixed some ProcessHandle things
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1251 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-09 03:50:05 +00:00
wj32 7138c92902 bump to 1.3.8.0
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1249 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-09 01:50:22 +00:00