Displaying 1 result from an estimated 1 matches for "55972aef".
2012 Jul 18
3
[LLVMdev] rwx pages dangerous?
I noticed that JITMemoryManager allocates its slabs as rwx. Isn't it a
security problem to have memory mapped as both writable and executable? I
think JITs often avoid this by mapping their memory as rw, then switching
it to rx once the data has been written. I was facing a similar problem in
a JIT of my own and was curious to see how LLVM addresses this issue.
Thanks,
Josh
--------------