Searched refs:old_protection (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_win.cpp | 353 DWORD old_protection; in MprotectNoAccess() local 354 return VirtualProtect((LPVOID)addr, size, PAGE_NOACCESS, &old_protection); in MprotectNoAccess() 358 DWORD old_protection; in MprotectReadOnly() local 359 return VirtualProtect((LPVOID)addr, size, PAGE_READONLY, &old_protection); in MprotectReadOnly() 363 DWORD old_protection; in MprotectReadWrite() local 364 return VirtualProtect((LPVOID)addr, size, PAGE_READWRITE, &old_protection); in MprotectReadWrite()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/interception/ |
H A D | interception_win.cpp | 224 uptr address, uptr size, DWORD *old_protection) { in ChangeMemoryProtection() argument 227 old_protection) != FALSE; in ChangeMemoryProtection() 231 uptr address, uptr size, DWORD old_protection) { in RestoreMemoryProtection() argument 234 old_protection, in RestoreMemoryProtection()
|