dmex
85d525e8e5
Annotate queued lock fast paths
...
Add SAL lock-state assumptions to queued lock acquire, try-acquire, and release fast paths in `queuedlock.h`. This teaches static analysis that the inline interlocked operations really acquire, hold, and release the lock, reducing false positives without changing runtime behavior.
2026-10-01 16:06:39 +10:00
dmex
6c9368b54a
Update SAL annotations
2026-04-12 10:54:21 +10:00
dmex
3f55a60c98
re-organized phlib
2025-05-22 07:48:42 +10:00
dmex
194661cb62
Update to the latest SDK
2025-03-11 06:06:55 +11:00
dmex
4fdd475c09
Revert volatile queued lock
2025-03-07 19:00:29 +11:00
dmex
a651f76d18
Fix SAL cast warnings
2024-12-28 14:20:40 +11:00
dmex
ffbdc9ad98
Update copyright
2023-05-14 13:05:39 +10:00
dmex
d06f6610b0
Fix github file encoding issues
2017-04-27 19:12:40 +10:00
Wen Jia Liu
f387b70c05
Reflow phlib comments to 100 character width
2016-02-05 04:02:29 +11:00
Wen Jia Liu
f754b78c89
Reorganize queued lock types for better readability
2016-02-03 15:27:29 +11:00
Wen Jia Liu
2db873c2e1
Remove PPVOID definition
2015-06-01 06:57:14 +00:00
Wen Jia Liu
4b36837748
Dramatically faster handle listing and search when running without administrative privileges
2015-05-30 04:45:31 +00:00
Wen Jia Liu
7e76da9264
* added some concurrency SAL annotations and fixed some annotations
...
* added PhBufferToHexStringEx
* fixlib: updated code
2013-11-13 23:32:14 +00:00
Wen Jia Liu
90e92f2348
converted all annotations to SAL 2.0
2013-11-10 06:25:03 +00:00
Wen Jia Liu
615930620e
patch by xhmikosr
2011-08-25 02:43:45 +00:00
Wen Jia Liu
c2afc273b4
* removed KphHandle argument from KPH functions
...
* removed control Create functions
* consistently use VOID for functions with no parameters
* PPVOID -> PVOID *
* PhRefreshMupDevicePrefixes -> PhUpdateMupDevicePrefixes, PhRefreshDosDevicePrefixes -> PhUpdateDosDevicePrefixes
2011-08-22 03:12:13 +00:00
Wen Jia Liu
411bb11ba4
improved PhReleaseQueuedLockExclusive
2011-06-18 11:57:29 +00:00
Wen Jia Liu
81412f3681
* deleted resource lock
...
* added C++ compatibility for header files
* removed #include <shlobj.h> from phgui.h
2010-09-17 04:11:51 +00:00
Wen Jia Liu
a732bae8ea
* added PhMatchWildcards
...
* added insert functions for PH_FULL_STRING
* added PhFinalStringBuilderString
2010-09-05 03:08:17 +00:00
Wen Jia Liu
b2e26fff85
changed synchronization definitions
2010-08-13 08:57:48 +00:00
Wen Jia Liu
10afc19137
improved PhfSetEvent
2010-08-10 08:53:17 +00:00
Wen Jia Liu
e7ea447374
added PhfWaitForConditionEx
2010-08-07 03:47:17 +00:00
Wen Jia Liu
fc995655bf
* added PH_BARRIER
...
* fixed wake event
2010-08-07 01:51:15 +00:00
Wen Jia Liu
726ede024a
* optimized some startup code
...
* moved PhCurrentUserName from phlib to ProcessHacker
2010-07-31 06:35:55 +00:00
Wen Jia Liu
71c9b6d120
added phlib exports
2010-07-24 06:51:35 +00:00
Wen Jia Liu
8e048fda31
* fixed session properties
...
* added winsta.h
* renamed phlib header guards
2010-06-21 08:58:07 +00:00
Wen Jia Liu
47dc9f2084
improved synchronization definitions
2010-06-16 06:50:30 +00:00
Wen Jia Liu
68aeb13348
minor fixes
2010-06-12 09:52:33 +00:00
Wen Jia Liu
e20b540a10
fixed typos
2010-04-28 01:29:41 +00:00
Wen Jia Liu
4790292c73
* fixed handle table bugs
...
* added PhQueryInformationHandleTable/PhSetInformationHandleTable
* fixed PhfPulse(All)Condition
* added Wake Event
2010-03-25 06:37:04 +00:00
Wen Jia Liu
2b4fcefbc5
completed handle table
2010-03-24 09:44:17 +00:00
Wen Jia Liu
d66d377d66
restructured common code into phlib
2010-03-11 04:15:11 +00:00