| 976 | } |
| 977 | |
| 978 | void BTCpuNotifyMemoryProtect(void* Address, SIZE_T Size, ULONG NewProt, BOOL After, ULONG Status) { |
| 979 | if (!After) { |
| 980 | ThreadCreationMutex.lock(); |
| 981 | } else { |
| 982 | if (!Status) { |
| 983 | InvalidationTracker->HandleMemoryProtectionNotification(reinterpret_cast<uint64_t>(Address), static_cast<uint64_t>(Size), NewProt); |
| 984 | } |
| 985 | ThreadCreationMutex.unlock(); |
| 986 | } |
| 987 | } |
| 988 | |
| 989 | void BTCpuNotifyMemoryFree(void* Address, SIZE_T Size, ULONG FreeType, BOOL After, ULONG Status) { |
| 990 | if (!After) { |
nothing calls this directly
no test coverage detected