Home
last modified time | relevance | path

Searched refs:PageProtect (Results 1 - 8 of 8) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/mem/
H A Dmem_map_allocator.cpp83 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 Dmachine_code.cpp32 return PageProtect(reinterpret_cast<void*>(startPage), protSize, PAGE_PROT_EXEC_READWRITE); in SetPageProtect()
H A Dregion.h685 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 Dmap.cpp78 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 Dmap.cpp62 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 Dmap.h106 bool PageProtect(void *mem, size_t size, int prot);
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Dstub_file_info.cpp153 if (!PageProtect(stubsMem_.addr_, stubsMem_.size_, PAGE_PROT_EXEC_READ)) { in Load()
H A Delf_reader.cpp270 if (!PageProtect(virtualAddr, phdr[i].p_memsz, PAGE_PROT_EXEC_READ)) { in ParseELFSegment()

Completed in 6 milliseconds