Commit Graph

34 Commits

Author SHA1 Message Date
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
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex 36e939b1e4 Fix ThreadContainerId typo 2026-05-03 07:16:14 +10:00
dmex bdc2ae293d Update nativethread.c 2026-04-26 14:14:01 +10:00
dmex bae2ca3b41 Update comments and tidy up 2026-03-22 11:31:16 +11:00
dmex 863ea2db46 Reorganize functions and imports 2026-01-04 07:26:47 +11:00
dmex f6224b9615 Update comments, Update SAL annotations, Fix typos and memory leak 2025-12-06 08:22:09 +11:00
Johnny Shaw b8c57e2b5a nativethread fix PhGetThreadName 2025-11-21 16:40:20 -07:00
dmex 57aaf4aace Move PhGetThreadAffinityMask to nativethread 2025-09-23 09:26:13 +10:00
dmex f944f0980f Add PhWriteVirtualMemory 2025-09-22 19:09:44 +10:00
dmex 8dfb01aecb Add PhReadVirtualMemory and PhInitializeRemoteMappedImage 2025-09-20 08:52:00 +10:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex c9581b28df Add missing changes from previous commit 2025-08-20 12:00:50 +00:00
diversenok f9c238893e Add thread RPC usage column (#2606)
* Add thread RPC usage column

* Fix order mismatch

---------

Co-authored-by: dmex <dmex04@gmail.com>
Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
2025-06-29 08:50:11 -06:00
diversenok 0ee5db976a Improve apartment detection (#2590) 2025-06-08 23:54: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
dmex c5010080d0 Update comments and types 2025-05-06 00:34:45 +10:00
diversenok 369a0eeaf8 Improve LdrSystemDllInitBlock version checks (#2522)
* Improve LdrSystemDllInitBlock version checks

* Update SAL

* Convert older system DLL init blocks

* Restore original code layout

* Restore original code layout

---------

Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
2025-05-03 18:13:00 -06:00
diversenok 90b15a280e Rework the COM apartment column (#2529) 2025-05-01 09:19:00 +10:00
dmex 1c1ea52b71 Update SAL annotations 2025-04-22 06:13:46 +10:00
diversenok 623edf67c6 Improve thread apartment querying (#2507)
* Improve thread apartment querying

* Fix driver build

---------

Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
2025-04-12 19:16:12 -06:00
dmex a8582303e3 Add PhGetThreadTebInformationAtomic 2025-03-11 06:41:43 +11:00
dmex ac2ed17cff Add initial cmake support and fix compatibility issues 2025-02-28 12:18:01 +11:00
dmex 12e9eda0ed Fix return status for remote handle query 2025-02-13 21:16:41 +11:00
dmex 637085b27d Update nativethread.c 2025-01-18 12:14:17 +11:00
dmex b5d498d4c8 Update nativethread.c 2025-01-18 11:56:25 +11:00
dmex e03516ffda Update to the latest SDK 2025-01-17 18:55:22 +11:00
dmex a1b40b530b Update to the latest SDK 2024-12-31 22:56:12 +11:00
dmex fc420be32b Update to latest SDK 2024-12-28 14:07:01 +11:00
Johnny Shaw f6c749329f remaining workaround msvc uninitialized stack bug 2024-12-26 10:27:20 -07:00
dmex a6aea48ff1 fixup! Update to latest SDK (Moves APC functions to thread.c accidently removed in commit feee54de3e) 2024-12-09 10:55:21 +11:00
dmex 95bc2fe8c1 Update to the latest SDK 2024-12-01 16:35:49 +11:00
dmex d6079e962b Move native to separate files 2024-10-17 09:00:14 +11:00