Commit Graph

735 Commits

Author SHA1 Message Date
dmex b34e422327 Update native.c 2026-10-01 16:07:06 +10:00
dmex 66e276b763 Improve phlib API compatibility and utilities
This change updates phlib with broader native API compatibility shims, new CRC32/CRC32C tables, and safer utility helpers. It also fixes a number of synchronization, formatting, environment, and process-creation edge cases, adds correlation-vector support, hardens SID conversion and image-resource loading, and cleans up several Windows compatibility fixes across the library.
2026-09-30 00:45:00 +10:00
dmex 7eb7a165fe Add SD helpers and Processor Utility statistics
Extend phnative with new native APIs for security descriptor and processor statistics handling. This adds self-relative SD conversion helpers and introduces per-processor information queries plus utility/performance delta/statistics calculations (including multi-group support and Windows-version-aware distribution parsing).
2026-09-25 09:53:48 +10:00
Johnny Shaw 4955bcf426 Trim the commentary the security pass left behind 2026-09-09 21:45:18 -06:00
Johnny Shaw 0d9c2ff1a3 phlib refuse an unload trace whose stride cannot hold an element 2026-09-09 21:09:36 -06:00
dmex abe198c0f0 Remove dead code, Improve consistency and minor issues
This changeset tightens cache file path handling in phlib by validating leaf names, honoring native vs Win32 path modes consistently, and using the correct directory creation path. It also fixes several functional regressions across the app and plugins: module list filter refresh after highlight toggles, ETW endpoint/port mapping, aggregate sort field usage, graph child window clipping, safer uninstall status text handling, previous-instance shutdown in setup, and improved window-message timeout handling. Additional updates clean up initialization/casts, remove dead code, and address small correctness issues in formatting and utility logic.
2026-07-15 20:19:49 +10:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex a505af0969 Enhance miniinfo graphs & zombie process handles 2026-06-15 12:56:06 +10:00
Johnny Shaw 3ce69f16be syssccpu improve cache lookup 2026-05-28 14:06:18 -06:00
dmex 0b2104b7ed Multiple fixes, typos and enhancements 2026-05-18 13:22:48 +10:00
dmex 155a1ea7ec Add dynamic import for SetCoalescableTimer 2026-05-09 14:52:39 +10:00
dmex 9326b3f85e Update native.c 2026-05-05 21:36:32 +10:00
dmex aa965164a2 Add PhEnableHighResolution and rename setting 2026-05-05 21:36:06 +10:00
dmex 38be0cddd4 Use safe size math for ACL and SD operations 2026-05-05 02:07:49 +10:00
Johnny Shaw fc46623c5f add client id headers 2026-05-03 19:12:59 -06:00
dmex 295b939cef Update native.c 2026-04-17 03:26:29 +10:00
𝙽!𝙻 ca2d5b24d3 Improve count-based size calculations in heap/config parsing (#2879) 2026-04-15 17:36:05 +10:00
dmex c415778b16 Add HighResolution flag to PhSetWaitableTimer 2026-04-09 20:57:41 +10:00
dmex 8aa6a340e2 Add new native API declarations (process IO/VM counters, basic process enumeration helpers, mutant/event APIs) to phnative.h, Rename build version APIs and add native APIs 2026-04-08 05:27:21 +10:00
dmex 7d0e64642b Move PhOpenDirectoryObject, PhEnumDirectoryObject 2026-03-25 01:30:17 +11:00
dmex e3ac9ab61d Update native.c 2026-03-22 12:14:33 +11:00
dmex 45ede39fcd Update native.c 2026-03-22 11:56:09 +11:00
dmex bae2ca3b41 Update comments and tidy up 2026-03-22 11:31:16 +11:00
dmex 971bf4b102 Remove unused code 2026-03-13 02:33:54 +11:00
dmex 5ba595389b Add workaround for Win32ExtendedPathPrefix to PhDosPathNameToNtPathName 2026-03-04 13:08:31 +11:00
dmex 863ea2db46 Reorganize functions and imports 2026-01-04 07:26:47 +11:00
dmex cb8e5f11b6 Update arguments to pointers 2026-01-04 07:15:39 +11:00
dmex 9d193f141c Reorganize functions into nativefile/nativekey/nativejob/nativeprocess/nativetoken 2025-12-31 03:04:30 +11:00
dmex bd9effd7b0 Update documentation and types 2025-12-12 19:42:59 +11:00
dmex f6224b9615 Update comments, Update SAL annotations, Fix typos and memory leak 2025-12-06 08:22:09 +11:00
dmex a0681609c2 Fix typo, Improve error handling for long path support on Windows 10 2025-11-17 21:24:03 +11:00
Johnny Shaw 209bd83e05 native set info vm cleanup and doc 2025-11-02 07:30:09 -07:00
dmex 6bf73eaeba Fix symbols for kernel modules on 24H2 and above 2025-10-08 20:34:26 +11:00
dmex d6fa11f143 Update SAL annotations and add stack allocations for some types 2025-10-08 15:43:41 +11:00
dmex 400d9a0ef1 Add SysInfoShowCpuSpeedPerCpu 2025-09-28 18:01:44 +10:00
dmex 1f8a940fc1 Tidy up 2025-09-22 23:29:14 +10:00
dmex a1bdc3c3f9 Fix warnings, Update commends, Update SAL 2025-09-22 19:16:28 +10:00
dmex 8c4a47fdd1 Update PhIsContainerEnum 2025-09-22 19:13:36 +10:00
dmex 8dfb01aecb Add PhReadVirtualMemory and PhInitializeRemoteMappedImage 2025-09-20 08:52:00 +10:00
dmex 89db172484 Update to the latest SDK 2025-09-20 03:05:13 +10:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
diversenok 7a51170f51 Add COM permission dialogs (#2651) 2025-08-14 03:39:38 +10:00
dmex 0f02dab981 Tidy up native methods and update legacy state changes with freeze support 2025-06-05 08:43:52 +10:00
Johnny Shaw 1db4e3012d fix PhMapViewOfSection 2025-05-31 19:46:23 -06:00
dmex 3f55a60c98 re-organized phlib 2025-05-22 07:48:42 +10:00
dmex 4bb9a69856 Update SAL Annotations 2025-05-22 00:00:42 +10:00
Johnny Shaw b0e93b2dfd phnative move PhGetFileMotw 2025-05-20 12:51:11 -06:00
dmex 95ab29e200 Update SAL Annotations and Fix typos 2025-05-15 13:12:48 +10:00
dmex 6317244ea6 Restructured common code 2025-05-07 08:29:22 +10:00
dmex c5010080d0 Update comments and types 2025-05-06 00:34:45 +10:00