Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DMachVMRegion.cpp47 mach_vm_size_t prot_size = size; in SetProtections() local
49 if (prot_size > (end_addr - addr)) in SetProtections()
50 prot_size = end_addr - addr; in SetProtections()
52 if (prot_size > 0) { in SetProtections()
61 m_err = ::mach_vm_protect(m_task, addr, prot_size, 0, prot); in SetProtections()
65 m_task, (uint64_t)addr, (uint64_t)prot_size, 0, in SetProtections()
69 m_err = ::mach_vm_protect(m_task, addr, prot_size, 0, in SetProtections()
75 m_task, (uint64_t)addr, (uint64_t)prot_size, 0, in SetProtections()
81 m_protection_size = prot_size; in SetProtections()