Add a hard-coded FFI_EXEC_TRAMPOLINE_TABLE arm implementation.
authorLandon Fuller <landonf@bikemonkey.org>
Sun, 19 Sep 2010 17:43:06 +0000 (10:43 -0700)
committerLandon Fuller <landonf@bikemonkey.org>
Sun, 19 Sep 2010 17:43:06 +0000 (10:43 -0700)
commit9e1196444e78aef20028c18891f44ebe39a815fd
tree9372769473b276b73589762f56404b3b443f3f50
parentf38364b399184e682fc3e785084bd497827bc5af
Add a hard-coded FFI_EXEC_TRAMPOLINE_TABLE arm implementation.

This implements support for re-mapping a shared table of executable
trampolines directly in front of a writable configuration page, working
around PROT_WRITE restrictions for sandboxed applications on Apple's
iOS.

This implementation is for testing purposes; a proper allocator is still
necessary, and ARM-specific code needs to be moved out of
src/closures.c.
src/arm/ffi.c
src/closures.c