Home
last modified time | relevance | path

Searched refs:old_protection (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win.cpp356 DWORD old_protection; in MprotectNoAccess() local
357 return VirtualProtect((LPVOID)addr, size, PAGE_NOACCESS, &old_protection); in MprotectNoAccess()
361 DWORD old_protection; in MprotectReadOnly() local
362 return VirtualProtect((LPVOID)addr, size, PAGE_READONLY, &old_protection); in MprotectReadOnly()
366 DWORD old_protection; in MprotectReadWrite() local
367 return VirtualProtect((LPVOID)addr, size, PAGE_READWRITE, &old_protection); in MprotectReadWrite()
/freebsd/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception_win.cpp224 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()