We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rwx
1 parent bebdcf4 commit cdc41abCopy full SHA for cdc41ab
src/hooks.hook.cpp
@@ -66,7 +66,7 @@ namespace lime
66
return;
67
}
68
69
- if (!m_impl->source_page->protect(protection::read | protection::write | protection::execute))
+ if (!m_impl->source_page->protect(rwx))
70
{
71
assert(false && "Failed to protect original function for restoration");
72
0 commit comments