| 884 | } |
| 885 | |
| 886 | NTSTATUS NotifyMapViewOfSection(void* Unk1, void* Address, void* Unk2, SIZE_T Size, ULONG AllocType, ULONG Prot) { |
| 887 | if (!InvalidationTracker || !GetCPUArea().ThreadState()) { |
| 888 | return STATUS_SUCCESS; |
| 889 | } |
| 890 | |
| 891 | { |
| 892 | std::scoped_lock Lock(ThreadCreationMutex); |
| 893 | HandleImageMap(reinterpret_cast<uint64_t>(Address)); |
| 894 | } |
| 895 | |
| 896 | |
| 897 | return STATUS_SUCCESS; |
| 898 | } |
| 899 | |
| 900 | void NotifyUnmapViewOfSection(void* Address, BOOL After, NTSTATUS Status) { |
| 901 | if (!InvalidationTracker || !GetCPUArea().ThreadState()) { |
nothing calls this directly
no test coverage detected