[Mono-osx] Disabling the mach header no heap execution flag on unix executable in app bundle?
aggieNick02
nick.neumann at ni.com
Tue Oct 23 15:07:37 UTC 2012
In the absence of being able to figure out an easier way to do it, I wrote a
little command line app in mono that modifies the 27th byte in the unix
executable to turn the flag off by doing a bitwise & with (byte)~1 . Sure
feels wrong, but works great.
--
View this message in context: http://mono.1490590.n4.nabble.com/Disabling-the-mach-header-no-heap-execution-flag-on-unix-executable-in-app-bundle-tp4657060p4657071.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx
mailing list