[pcre-dev] [Bug 1243] enabling JIT on jailbroken iOS devices

Kezdőlap
Üzenet törlése
Szerző: YllierDev
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 1243] enabling JIT on jailbroken iOS devices
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1243




--- Comment #5 from YllierDev <ruediger.rill@???> 2012-05-07 19:18:10 ---
So I've tested PCRE 8.30 with the fix for iOS with several iOS versions from
4.0 to 5.0.1.
JIT will only work if the device IS jailbroken. On original versions it will
cause a crash if PCRE_STUDY_JIT_COMPILE is being used. I expected that it
wouldn't work on non-jailbroken devices but I hoped that it wouldn't crash.

Long story short, jailbroken: YES
original iOS: NO
So you might wanna mention it somewhere in the headers that developers should
only use JIT on iOS their targets are jailbroken devices.

since I don't know if you wanna include the patch, I'll here is the url:
http://svn.telesphoreo.org/trunk/data/pcre/clearcache.diff

Saurik, the maintainer of telesphoreo, is the one who suggested using
sys_icache_invalidate() instead of assembler




--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email