Searched refs:PageProtect (Results 1 - 8 of 8) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | mem_map_allocator.cpp | 83 return PageProtect(mem, size, prot); in PageProtectMem() 90 return PageProtect(mem, size, PAGE_PROT_READWRITE); in PageProtectMem() 101 return PageProtect(mem, size, PAGE_PROT_EXEC_READWRITE); in PageProtectMem() 184 if (!PageProtect(mem, size, PAGE_PROT_NONE)) { in Free()
|
H A D | machine_code.cpp | 32 return PageProtect(reinterpret_cast<void*>(startPage), protSize, PAGE_PROT_EXEC_READWRITE); in SetPageProtect()
|
H A D | region.h | 685 PageProtect(reinterpret_cast<void *>(allocateBase_), GetCapacity(), PAGE_PROT_READ); in SetReadOnlyAndMarked() 690 PageProtect(reinterpret_cast<void *>(allocateBase_), GetCapacity(), PAGE_PROT_READWRITE); in ClearReadOnly()
|
/arkcompiler/ets_runtime/ecmascript/platform/windows/ |
H A D | map.cpp | 78 if (!PageProtect(it.GetMem(), it.GetSize(), PAGE_PROT_NONE)) { in MachineCodePageUnmap() 101 bool PageProtect(void *mem, size_t size, int prot) in PageProtect() function 106 LOG_ECMA(ERROR) << "PageProtect mem = " << mem << ", size = " << size << in PageProtect()
|
/arkcompiler/ets_runtime/ecmascript/platform/unix/ |
H A D | map.cpp | 62 if (!PageProtect(it.GetMem(), it.GetSize(), PAGE_PROT_NONE)) { in MachineCodePageUnmap() 95 bool PageProtect(void *mem, size_t size, int prot) in PageProtect() function 99 LOG_ECMA(ERROR) << "PageProtect mem = " << mem << ", size = " << size << in PageProtect()
|
/arkcompiler/ets_runtime/ecmascript/platform/ |
H A D | map.h | 106 bool PageProtect(void *mem, size_t size, int prot);
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
H A D | stub_file_info.cpp | 153 if (!PageProtect(stubsMem_.addr_, stubsMem_.size_, PAGE_PROT_EXEC_READ)) { in Load()
|
H A D | elf_reader.cpp | 270 if (!PageProtect(virtualAddr, phdr[i].p_memsz, PAGE_PROT_EXEC_READ)) { in ParseELFSegment()
|
Completed in 6 milliseconds