dmex
6e2679c0d2
Vectorize image coherency comparisons
...
Add a relocation-based skip index and span calculation to avoid per-byte callback checks when using `PhpImgCoherencySkip`, then compare eligible ranges with AVX-512/AVX2/SSE (falling back to scalar). The inspect loop now preserves existing skip and fault semantics by retrying faulting vector blocks byte-by-byte, and the new relocation index storage is initialized and freed with the coherency context.
2026-10-01 16:04:58 +10:00
Johnny Shaw
7a935fe496
imgcoherency fix function override path
2026-07-30 21:00:58 -06:00
dmex
15ec45a121
Update copyright year
2026-07-01 01:43:30 +10:00
dmex
97541378cd
Update imgcoherency.c
2026-06-18 02:48:28 +10:00
dmex
a505af0969
Enhance miniinfo graphs & zombie process handles
2026-06-15 12:56:06 +10:00
dmex
0c8e67508e
Update verbose script and doxygen comments
2026-04-21 02:34:19 +10:00
dmex
ffccf93018
Use NTAPI for read callback and loop optimization
2026-04-20 21:51:14 +10:00
dmex
bae2ca3b41
Update comments and tidy up
2026-03-22 11:31:16 +11:00
dmex
e2faf0618b
Cast counters to SIZE_T before subtraction
2026-03-07 01:31:00 +11:00
dmex
ea3c7e600d
Add Dynamic Relocations v2 and RF Guard relocation support
2026-02-21 15:43:08 +11:00
dmex
0db6fb4dc0
Improve image coherency memory usage with non-allocating DynamicRelocationCallback
2026-02-21 10:02:32 +11:00
dmex
2a2602a6b3
Update imgcoherency.c
2025-12-22 06:04:59 +11:00
Johnny Shaw
d1271ab13a
phlib imgcoherency fixes
2025-11-29 11:32:30 -07:00
dmex
2818520fdc
Fix NumberOfBytesRead SAL annotation
2025-09-20 17:20:54 +10:00
dmex
8dfb01aecb
Add PhReadVirtualMemory and PhInitializeRemoteMappedImage
2025-09-20 08:52:00 +10:00
dmex
cc58b9a202
Update SAL Annotations and Fix typos
2025-05-15 13:48:46 +10:00
dmex
e33f65dc4f
Update SAL annotations and status consistency
2025-03-26 20:27:26 +11:00
dmex
2f0b9e446d
Fix process module treelist coherency regression from bbfc85e
2025-03-24 04:47:35 +11:00
dmex
bbfc85e894
Skip image coherency checking on error
2025-03-22 14:21:00 +11:00
dmex
2fdd7f25c7
Fix signed/unsigned mismatch
2025-02-11 16:21:49 +11:00
dmex
2d1d1fb355
Update attributes and types
2025-02-11 16:10:35 +11:00
dmex
fc420be32b
Update to latest SDK
2024-12-28 14:07:01 +11:00
Johnny Shaw
a06bba3a49
Fix CFG ES handling and workaround CFG suppression
2024-09-13 20:10:15 -06:00
dmex
c70a29be04
Disable PhMappedImagePrefetch
2024-09-14 00:35:31 +10:00
dmex
f26ebef6d3
Update types
2024-09-06 20:24:02 +10:00
dmex
1cd217d0cf
Add non-allocating image relocation enumeration, Update types and functions to match native versions
2024-08-19 03:39:09 +10:00
Johnny Shaw
11977a982b
kph improve vmem read
2024-06-24 10:22:31 -06:00
dmex
b179ee30b3
Update MappedImage to latest SDK
2023-10-07 20:16:02 +11:00
dmex
810beaed17
Add memory macros
2023-09-10 15:35:22 +10:00
Johnny Shaw
e99eab11a0
image coherency style cleanup
2023-07-05 19:21:50 -06:00
Johnny Shaw
18c1d4e6a4
add option for shared original image coherency
2023-07-05 19:08:24 -06:00
dmex
04891d9cff
Add remote image size validation
2023-04-03 18:24:31 +10:00
dmex
4718e9425d
Tidy up null checks
2023-03-01 20:53:46 +11:00
Johnny Shaw
2697b8dcb8
dvrt cleanup
2023-02-25 17:59:56 -07:00
Johnny Shaw
da8ab9b1fd
dvrt import control
2023-02-25 17:23:41 -07:00
Johnny Shaw
a4f5c52ac9
dvrt indirect control
2023-02-25 16:41:53 -07:00
Johnny Shaw
9fea4ca289
dvrt switchable branch
2023-02-25 16:22:20 -07:00
Johnny Shaw
20eb04bb91
fix bug in imgcoh
2023-02-25 15:27:50 -07:00
Johnny Shaw
ea99161e79
fix typo
2023-02-25 14:49:35 -07:00
Johnny Shaw
3ded1f8c3a
peview, mapimg, and imgcoh improvement and cleanup for ARM64
2023-02-25 14:43:47 -07:00
dmex
0e9d6c81fc
Update imgcoherency.c
2023-01-16 22:51:39 +11:00
dmex
e9b1a7865f
Remove whitespaces
2022-09-13 15:24:15 +10:00
dmex
62253d9961
Update PhCreateFile to PH_STRINGREF
2022-07-27 13:15:18 +10:00
Johnny Shaw
c6e44b2fea
Update copyright and license ( #1256 )
2022-06-13 20:33:49 -06:00
Johnny Shaw
95e20a1c0b
Add IAT support in imgcoherency ( #1247 )
2022-06-10 12:01:39 +10:00
dmex
911981b1ce
Add PhGetProcessImageBaseAddress
2022-06-07 08:52:58 +10:00
dmex
4b3af5301f
Fix typo
2022-03-23 02:07:42 +11:00
dmex
c99d5ea6aa
Fix typo
2022-03-20 13:39:03 +11:00
Johnny Shaw
8a234ccdfe
Account for code caves beyond on-disk section in imgcoherency ( #979 )
2021-08-31 13:32:33 +10:00
Johnny Shaw
1be3a28aa7
Fix bug in imgcoherency that was preventing inline hook detection ( #969 )
2021-08-28 17:45:06 +10:00