How to disable DEP for OSX Lion

Dylib I created crashes under Lion, but it works fine under Snow Leopard. This is apparently caused by a compiler error (Delphi XE2, Upd.4), which leads to code completion in the data section.

When dylib is loaded, there is SIGBUS with KERN_PROTECTION_FAILURE on the address in the RODATA section.

Since I need to get this to work under Lion ASAP, is there a way to disable DEP under Lion?

+5
source share

All Articles