Commit Graph

2450 Commits

Author SHA1 Message Date
dmex f84c35315d Use HRESULT macros to check Win32 errors
Replace manual bitmasking of the HRESULT with HRESULT_FACILITY() and HRESULT_SEVERITY() . This makes the Win32 error check clearer and uses standard macros for determining FACILITY_WIN32 and SEVERITY_ERROR while preserving the original behavior.
2026-04-03 23:27:30 +11:00
dmex 006ec02af6 Improve address/overflow checks in phsup.h
Compute explicit start/end addresses for user and buffer ranges and add proper wrap/overflow checks to prevent integer wraparound and access violations. Replace MAXULONG_PTR and (ULONG_PTR)-PAGE_SIZE uses with ULONG_PTR_MAX-based comparison. Use PAGE_ALIGN + PAGE_SIZE to advance page pointers and normalize volatile dereference syntax for readability. These changes tighten bounds checking in PhProbeAddress/PhProbeForRead/PhProbeForWrite to avoid subtle failures on pointer wraparound.
2026-04-03 05:28:25 +11:00
dmex 0a24e75136 Enable column sorting memory search 2026-04-01 12:37:42 +11:00
dmex 34016e27d9 Apply SAL annotations fixes and add annotations 2026-04-01 12:11:37 +11:00
dmex 34c51e5a7a Add PhEnumDesktops 2026-03-31 12:20:47 +11:00
dmex 6d6918c4e0 Make GUID params const and inline DevFindProperty 2026-03-29 05:24:08 +11:00
dmex ff686506c3 Update phbasesup.h 2026-03-29 03:16:26 +11:00
dmex 7458f92727 Update phsup.h 2026-03-29 03:15:37 +11:00
Johnny Shaw 25b6d0ae3d phsup fix probing functions 2026-03-26 22:21:30 -06:00
dmex d877b9c30c Add PhSetExpandKeyString 2026-03-25 05:36:17 +11:00
dmex 98032e6a56 Add selection bitmap caching 2026-03-25 05:35:06 +11:00
dmex 7d0e64642b Move PhOpenDirectoryObject, PhEnumDirectoryObject 2026-03-25 01:30:17 +11:00
dmex 6c77c880f0 Rename GuardAdressIat -> GuardAddressIat 2026-03-25 01:24:19 +11:00
dmex 86eb860374 Update mapimg.h 2026-03-22 15:33:12 +11:00
dmex 2e768b6c94 Update apiimport.h 2026-03-22 12:24:31 +11:00
dmex 430ad1c037 Update mapimg.h 2026-03-22 12:15:13 +11:00
dmex dabb8cca64 Update mapldr.h 2026-03-22 12:01:16 +11:00
dmex af78d92c9b Update phnative.h 2026-03-22 11:57:35 +11:00
dmex bae2ca3b41 Update comments and tidy up 2026-03-22 11:31:16 +11:00
Johnny Shaw 3d27bc0c43 Rename PhReferenceObjectSafe to Unsafe 2026-03-20 17:40:54 -06:00
mozhucy 0d2893cc89 Handle null service config path names (#2853) 2026-03-20 16:55:51 +11:00
Johnny Shaw 2b88509945 kph client informer state 2026-03-13 22:44:02 -06:00
dmex 1541edcd2e Update appresolver.h 2026-03-14 11:00:45 +11:00
dmex bdc5c780e5 Update comments, Update LSA wrappers 2026-03-07 01:30:14 +11:00
dmex 0e270a053a Improve parameter name, type-safety, and SAL annotation consistency 2026-03-07 01:24:03 +11:00
dmex b3618fd65b Add SAM support 2026-02-22 09:43:21 +11:00
dmex 634dc1a716 Export PhGetCurrentThreadLCID 2026-02-21 23:24:44 +11:00
dmex b489852462 Add PhGetClassInfo, PhGetClassInfoEx 2026-02-21 23:24:06 +11:00
dmex 560a9fb02e Update comments 2026-02-21 13:07:46 +11:00
dmex 08a54568c5 Add PhLoadMappedImageHeaderFromFile, PhLoadMappedImageNoExecute, DynamicRelocations v2 and RF Guard relocation support 2026-02-21 10:39:39 +11:00
dmex 2778eb75bd Add PhDevOpenObjectKey, PhDevFindProperty 2026-02-21 10:11:05 +11:00
dmex 258016a9ad Add PhLoadMappedImageHeaderFromFile, PhLoadMappedImageNoExecute, PhpFillDynamicRelocationsArray32v2, PhpFillDynamicRelocationsArray64v2 2026-02-21 10:00:43 +11:00
dmex 1af1fd4717 Fix #2054 (Add setting DbgHelpVerifyMicrosoftChain) 2026-02-21 09:47:06 +11:00
dmex 7565b445b8 Add PhGetDllProcedureAddressZ 2026-02-21 02:37:48 +11:00
Johnny Shaw f8c1c423d1 OnlineChecks manual and auto scanning 2026-02-14 00:33:36 -07:00
dmex db394098c2 Export PhSplitStringRef and PhFreeStringArray 2026-02-12 20:08:38 +11:00
dmex 2249f994cd Add PhIsAppThemed 2026-02-12 19:54:27 +11:00
dmex d2d752479f Update apiimport.h 2026-02-12 19:53:40 +11:00
dmex f56561c8b6 Update SAL annotations 2026-02-12 19:53:04 +11:00
dmex 774d2ec4b6 Add NtCreateTimer2/NtSetTimer2 2026-02-05 16:51:56 +11:00
dmex 41f8b7aef7 Add high-resolution provider (low-latency mode) support 2026-02-05 16:51:12 +11:00
dmex 6325685640 Add correct types for compare functions 2026-02-02 19:38:45 +11:00
Johnny Shaw de9fc745f0 kph add KphIsDynDataActive 2026-02-01 17:45:25 -07:00
Johnny Shaw 809b885998 kph ratelmt stats 2026-02-01 17:45:24 -07:00
Johnny Shaw 3a6cc3b582 kph ratelmt 2026-02-01 17:45:24 -07:00
Johnny Shaw 5e6f5c045e kph cleanup and optimize message allocators 2026-02-01 17:45:20 -07:00
Johnny Shaw 94d451e36a kph mitigate altitude stomping 2026-02-01 17:45:19 -07:00
Johnny Shaw 150eff428f kph comms SAL cleanup 2026-02-01 17:45:18 -07:00
Johnny Shaw 68c624a9f9 kph minimal system process name parameter 2026-02-01 17:45:17 -07:00
Johnny Shaw f5ca1149cf kph ring buffer settings 2026-02-01 17:45:09 -07:00