Commit Graph

26 Commits

Author SHA1 Message Date
dmex efa63c8e5d Theme, secedit, and misc fixes 2026-07-05 12:04:49 +10:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex d5f0a0609a Add documentation comments to hndlprv.c 2026-05-16 15:57:30 +10:00
dmex e6b35af568 Update handle provider, Add async handle query and fix threading issues
Introduce an asynchronous handle query pipeline and UI improvements for handle resolution. Added query data structures and a stage-1 worker (PhpHandleQueryStage1Worker), a SLIST-based QueryListHead on providers, queueing (PhpQueueHandleQueryStage1), flushing/clearing (PhpFlushHandleQueryData / PhpClearHandleQueryData) and helpers to fill/cleanup results. Handle items gain NameResolved and JustProcessed fields; names/type info and file-sharing flags are resolved asynchronously and applied without blocking the main enumeration.

UI: show "Resolving...." for name cells while resolution is pending and only hide "unnamed" handles when NameResolved is true. Added a new menu item to toggle handle snapshots. Also clear various cached string refs when updating handle nodes.

Other changes: replaced type-name sort with a numeric compare on TypeIndex, refactored hashset add/remove/reference helpers (PhpLookupHandleItem, PhpAddHandleItem, PhpRemoveHandleItem, PhReferenceHandleItem), and wired queuing of stage-1 queries after new handle detection. These changes improve responsiveness and avoid long synchronous queries during handle enumeration.
2026-05-05 20:38:38 +10:00
Johnny Shaw b5d841371a kph remove temporary code 2026-02-01 17:45:20 -07:00
dmex a155a93239 Add handle columns for references and size 2025-09-28 04:08:05 +10:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex 8f02da7729 Update SAL Annotations 2025-05-15 01:10:28 +10:00
dmex a7473d0657 Update SAL Annotations 2025-05-15 00:39:39 +10:00
dmex e3ed9a4814 Settings format and consistency 2025-03-26 20:32:28 +11:00
dmex 9bf3a80c31 Update handles after termination 2025-01-18 17:10:20 +11:00
Johnny Shaw f28e4a4e15 hndlprv workaround, see commit 3a54b8329 2025-01-13 16:47:20 -07:00
Johnny Shaw 41eea5bcac hndlprv enable KphCompareObjects 2025-01-11 12:53:34 -07:00
dmex ab6986606b Update to latest SDK 2024-12-08 08:03:23 +11:00
dmex f8757ab345 Update to the latest SDK 2024-12-01 16:17:11 +11:00
Dart Vanya 0b4e77b666 objmgr cleanup and improvements (#2294)
* objmgr cleanup and improvements

* fix build

* Fix handle list "File share access"

- Handle attributes search support. ColorPartiallySuspended for both Protected and Inherit handles.
- Fix options saving from Advanced page.

* fix section resolving

* Add "Object address" column (showed only when driver on)

* Fix access violations on spamming refresh button

* removed driver changes

* EtObjectEntryType and improving of resolver allocations

* remove dead code

* finally fix resolver w/o allocations

* Improve PhUiCloseHandles for protected handles

- memsrcht show memory editor on double click, F5 - refresh.

* use EtObjectManagerOpenHandle for enum directories

* fix imports

* Menu "Handles" added (quick open of Handles tab)

- Better organize of menu with separators

* removed handle use count code

* directory open cleanup

* improve navigation to complex symlinks

* Show volume letter in SymLink target

- Example: \\Device\\HarddiskVolume4 (C:)
- Menu - "Show drive volume" for this cases.
- [Resolver] Show Type info in target column in format: Index: <n>, Objects: <m>, Handles: <k>
- Improve navigation to symlinks.
2024-11-27 22:40:31 -07:00
dmex c87d3e67bc Update to latest SDK 2024-09-22 12:58:26 +10:00
dmex 0e2c8cbbeb Fix handle check 2024-09-06 20:10:11 +10:00
dmex 1375429a90 Update to latest SDK 2024-06-23 05:49:26 +10:00
dmex 8da2eaa1e3 Move PhEnumHandlesGeneric from handle provider to native 2023-07-06 06:21:16 +10:00
Johnny Shaw 67bfaf2b9a use kph compare objects 2023-06-20 16:57:59 -06:00
dmex a1f78c20df Remove whitespace 2023-02-15 11:28:07 +11:00
dmex 26f61d1df6 Fix regression searching handles and threads by id (partial revert 9f3e09b0d9) 2023-02-02 06:22:04 +11:00
Johnny Shaw 1a8a4c43c4 kph object and file query (#1445) 2022-10-22 01:43:18 -06:00
Johnny Shaw f7a04113d4 driver work (#1320) 2022-08-06 21:49:05 -06:00
dmex 7cf151713a Update solution 2022-06-16 11:25:11 +10:00