Commit Graph

43 Commits

Author SHA1 Message Date
Johnny Shaw 88b369287c AgentTools misc cleanup 2026-09-07 17:17:45 -06:00
Johnny Shaw 98af5bc88a AgentTools expand the tool surface 2026-09-07 16:52:40 -06:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex b546c94309 Add extended highlighting and process monitor flags
Introduce many new highlighting settings and UI grouping for Options -> Highlighting, including thread, network, environment, token, memory and module color options. Add menu flags to highlight native/mapped modules and several thread wait types; wire them into dialogs and list handling. Rename and use cached process monitor settings (PhCsEnableProcessMonitor / PhCsProcessMonitorLookback / PhCsProcessMonitorCacheLimit) and update related checks. Fix TreeNew invalidation/sorting behavior to avoid unconditional rebuilds and ensure proper node invalidation. Populate default settings and cached getters for the new options.
2026-04-12 11:50:30 +10:00
dmex 7ff04762e2 Fix bounds, safety checks, and sort types
- Add SysInfoMinimumGraphHeight and SysInfoScrollEnabled settings.
- Remove redundant TreeNew_NodesStructured calls to avoid extra re-structuring.
- Fix off-by-one checks on hybridProcessorTypeList (use >=).
- Add null/empty checks before indexing directory lists in CLR metadata handling.
- Use PhShowStatusHR and correct failure logic when CLR table enumeration fails.
- Replace mutable PVOID sortFunctions arrays with CONST _CoreCrtSecureSearchSortCompareFunction and use the correct function pointer type for sortFunction in several peview tree callbacks.
- Replace SetWindowLongPtr reset with PhSetWindowProcedure for prop sheet cleanup.
- Change dwCountElems type to ULONG in pdb printing.
2026-04-11 00:57:41 +10:00
dmex 736945e66e add CONST qualifiers to static sort function arrays and use proper _CoreCrt* function-pointer types; 2026-04-10 16:01:36 +10:00
dmex 0e270a053a Improve parameter name, type-safety, and SAL annotation consistency 2026-03-07 01:24:03 +11:00
dmex 1762f3718e Update memlist.c 2026-02-13 05:12:48 +11:00
diversenok c73a4a4e14 Add desktop heap detection (#2816) 2026-02-05 08:32:10 +11:00
dmex e1a379072d Update settings 2025-12-26 23:46:28 +11:00
dmex d6fa11f143 Update SAL annotations and add stack allocations for some types 2025-10-08 15:43:41 +11:00
dmex d7ffa30f1a Add missing types for memory regions 2025-06-05 08:53:49 +10:00
dmex 9369cb6968 Update memlist.c 2025-03-11 13:09:35 +11:00
dmex ed12337069 Fix build issues from CMake changes ac2ed17cf 2025-03-04 13:19:57 +11:00
dmex 0affd41233 Update PPH_STRINGREF to PCPH_STRINGREF 2025-02-25 17:24:27 +11:00
dmex b5c8ece612 Tidy up 2024-11-30 06:10:41 +11:00
ge0rdi 7b6ce8c27b Apply search filter on Memory tab refresh (#2274)
Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
2024-11-09 18:40:53 -07:00
ge0rdi 8255bb904e Few improvements (#2257)
* fix Ctrl+K (search box) handling

- tree view didn't pass keypresses to parent window so it was not
  possible to handle the keyboard combo
- some plugins didn't handle Ctrl+K at all

Fixes #2241

* treenew handle Ctrl+A in common code

* searchbox pressing escape will abandon search

Current search is abandoned and focus is returned to window that
previously had it, instead of closing whole dialog.

* fixup! searchbox pressing escape will abandon search

* Update SystemInformer/searchbox.c

Co-authored-by: Johnny Shaw <johnny.shaw@live.com>

* Update SystemInformer/searchbox.c

---------

Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
2024-10-29 19:04:04 -06:00
dmex f92eab7083 Update SDK for const compatibility
Resolves C++ SDK compatibility issues
2024-10-17 04:33:07 +11:00
dmex de6d1c9c11 Update to latest SDK 2024-09-09 07:33:45 +10:00
dmex eb58b5200a Add single type formatting 2024-09-09 05:44:38 +10:00
dmex 1375429a90 Update to latest SDK 2024-06-23 05:49:26 +10:00
diversenok 8938edc397 Recognize use for more memory regions (#1935) 2023-12-18 22:51:27 +11:00
dmex ff006d56c1 Update menu identifiers 2023-10-12 06:21:14 +11:00
dmex 04b3911f85 Update types for latest SDK 2023-09-11 02:47:46 +10:00
dmex 28800f4401 static_assert sorting callbacks to catch missing columns 2023-06-21 11:15:36 +10:00
dmex 42ff4d7fe3 Remove unused heapinfo.h 2023-05-16 00:23:26 +10:00
dmex 03c59d266e Remove whitespace 2023-04-26 10:27:13 +10:00
diversenok 7a8f021c7d Show heap class on the memory page (#1702) 2023-04-24 19:39:49 +10:00
dmex 3a94d163a2 Add memory columns for original protection, original pages, region type, priority and improve memory enumeration performance 2023-04-03 08:54:53 +10:00
dmex fa01742737 Update PhGetSigningLevelString to PH_STRINGREF 2023-03-30 16:30:06 +11:00
dmex 03349c946c Fix default memory column indexes 2023-03-30 07:19:53 +11:00
diversenok 2007c7af31 Add signing level memory column (#1660) 2023-03-23 18:50:22 -06:00
dmex 4718e9425d Tidy up null checks 2023-03-01 20:53:46 +11:00
dmex e1900494ba Update SAL annotations and remove redundant checks 2023-01-09 16:38:53 +11:00
dmex 43eb9f4979 Fix incorrect checks for INT_ERROR 2022-12-26 11:27:43 +11:00
dmex c85c61ccb1 Add treelist node invalidation for memory and module tabs 2022-10-14 04:20:52 +11:00
Johnny Shaw 3550bbe794 option to zero pad addresses (#1416) 2022-10-12 22:47:27 -06:00
dmex 53b5fd4897 Fix module/memory address format 2022-10-09 03:19:28 +11:00
dmex e9b1a7865f Remove whitespaces 2022-09-13 15:24:15 +10:00
dmex fa9fae3b31 Add 'Enable monospace fonts' checkbox to options window 2022-08-02 17:46:34 +10:00
rtldg 0aaa1ac1aa Add monospace font setting & use in memory list (#1290)
* Right align address in memory list

* add flag to make column use SYSTEM_FIXED_WIDTH font

* move PH_TREENEW_FIXED_WIDTH_FONT from TextFlags to Alignment & grab a different default mono space font

* rename PH_TREENEW_FIXED_WIDTH_FONT to PH_ALIGN_MONOSPACE_FONT

* go all in with adding setting FontMonospace

* fix Options->Advanced tree item being inserted twice

* Right align address in memory list

* add flag to make column use SYSTEM_FIXED_WIDTH font

* move PH_TREENEW_FIXED_WIDTH_FONT from TextFlags to Alignment & grab a different default mono space font

* rename PH_TREENEW_FIXED_WIDTH_FONT to PH_ALIGN_MONOSPACE_FONT

* go all in with adding setting FontMonospace

* fix Options->Advanced tree item being inserted twice

* style suggestions

* Use PhFormatToBuffer for printing memlist pointer

* Update SystemInformer/modlist.c

Co-authored-by: Johnny Shaw <johnny.shaw@live.com>

* Update SystemInformer/memlist.c

Co-authored-by: Johnny Shaw <johnny.shaw@live.com>

* use zero-padded pointers in the Modules EntryPoint & BaseAddress columns

* move module base address formatting functions near each other

Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
2022-07-30 15:17:44 -06:00
dmex 7cf151713a Update solution 2022-06-16 11:25:11 +10:00