Commit Graph

44 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 8e6d5f78c3 Split asserted SID into two constants 2026-06-18 02:48:57 +10:00
dmex 5a803eb010 Use SETTING_NAME_* for env dialog; add UI settings 2026-06-18 02:21:16 +10:00
dmex 706f0c2d7a Update data.c 2026-04-17 01:35:03 +10:00
dmex 0538ada48d Add PhSeLogonIdSid 2026-01-05 23:13:42 +11:00
dmex b4eee9983c Update comments
Note: Assigning the constant value -1 to variables or array elements  of type ULONG is not allowed in constant expressions or initializer lists without an explicit cast. C++11 and later generate multiple warnings that this assignment is not safe or portable. We instead use a LONG[] for the table since it allows -1 directly and safely, holds all positive values  that we need, and resolves the narrowing conversion errors.
2025-12-22 06:03:44 +11:00
dmex 7c1081c63e Add file aliases supported by Windows 11 25H2 2025-11-17 23:42:36 +11:00
Johnny Shaw 2bf516dabf strsrch detect Unicode BMP 2025-11-01 20:56:21 -06:00
Johnny Shaw f6c749329f remaining workaround msvc uninitialized stack bug 2024-12-26 10:27:20 -07:00
Johnny Shaw 7d73d426fe strsrch remove iswprint dependency 2024-08-19 21:34:53 -06:00
dmex 3b28e91d3a Add WrRcu 2024-08-17 18:35:58 +10:00
dmex e6ef6c3987 Add PhGetAzureDirectoryObjectSid and resolve SIDs to Azure ObjectIDs 2024-02-29 21:38:58 +11:00
dmex 92b8389adb Add PhSeCloudActiveDirectorySid 2023-12-11 07:19:31 +11:00
dmex 449dfca40e Update types to PH_STRINGREF 2023-08-07 11:22:18 +10:00
dmex 9a0c737fdf Force constant for SID objects 2023-07-06 03:49:57 +10:00
dmex c283375e52 Force constant for data objects or variables not modifiable 2023-07-06 03:40:01 +10:00
dmex 6ffafa1e5a Add debug asserts 2023-05-16 01:57:43 +10:00
dmex c41c75cd6a Add SeInternetExplorerSid 2023-05-14 13:06:33 +10:00
dmex 5dcddf5b02 Add static_assert for arrays with SDK defined maximums 2023-04-13 04:34:29 +10:00
dmex f35ec06adf Add PHSID support 2023-03-15 01:46:07 +11:00
dmex afd0fc1b7f Add PhSeAdministratorsSid, PhSeUsersSid, PhSeAnyPackageSid 2023-02-21 05:28:21 +11:00
Johnny Shaw c6e44b2fea Update copyright and license (#1256) 2022-06-13 20:33:49 -06:00
dmex 966171edc8 Update PhKWaitReasonNames for Win11 2022-02-28 23:02:08 +11:00
dmex 335d32b2ec Add missing copyright notice 2021-07-15 19:28:59 +10:00
dmex db0c1947dc Update PHNT types 2021-05-07 13:07:16 +10:00
dmex d06f6610b0 Fix github file encoding issues 2017-04-27 19:12:40 +10:00
Wen Jia Liu 9c59091e87 Add .def file for exports; Reduce compilation time; Reorganize header files 2016-02-25 16:58:43 +11:00
Wen Jia Liu b5835c81d8 Use official page priority names 2016-02-24 20:40:48 +11:00
Wen Jia Liu be7aba11c7 Use IO_PRIORITY_HINT consistently 2016-02-24 20:40:48 +11:00
Wen Jia Liu 9996edca71 Reorganize header files (more modularity); Simplify phlib initialization 2016-02-24 15:27:51 +11:00
Wen Jia Liu 5708b7bb39 More native header updates 2015-05-26 12:41:35 +00:00
Wen Jia Liu 598304f12e Use UTF-8 for all file output 2015-04-22 14:21:20 +00:00
Wen Jia Liu fdbe334116 added new Windows 8.1 process protection information 2013-11-19 13:03:49 +00:00
Wen Jia Liu 0c4c52b081 added error checking to PhStringToInteger64 2013-07-20 12:13:56 +00:00
Wen Jia Liu 9bcb8e1c9c added KphValidateAddressForSystemModules to check for bad address ranges 2011-04-24 07:59:41 +00:00
Wen Jia Liu 109cd5b73b added more documentation 2010-12-14 06:44:30 +00:00
Wen Jia Liu 6fe33e98f1 use I/O priority names 2010-12-14 05:53:33 +00:00
Wen Jia Liu aa928c8e1e added DECLSPEC_SELECTANY to data 2010-10-02 03:55:28 +00:00
Wen Jia Liu 9cd1c9078e * added ph_crc32
* added hash command to FiIn
2010-09-18 11:10:44 +00:00
Wen Jia Liu ea822c6397 added PH_ prefixes to some #defines 2010-09-02 11:09:40 +00:00
Wen Jia Liu a49b31390f * added memory searching (string scanner only for now)
* fixed delimiting in PhaChoiceDialog saved choices
2010-07-14 11:48:41 +00:00
Wen Jia Liu 5c4de94ce0 * graph tooltips now remain on-screen when the mouse is near the edge of the screen
* improved graph tooltip performance
* fixed verification
2010-07-07 02:19:31 +00:00
Wen Jia Liu 19f24ae465 * added a heap of well known SIDs
* solved "NT AUTHORITY\SYSTEM" localization
2010-04-10 04:30:14 +00:00
Wen Jia Liu 7854ffbbbf implemented thread details area 2010-04-04 10:33:02 +00:00