asb2m10 / jsusfx

Opensource Jesusonic FX implementation
Other
69 stars 13 forks source link

runtime execstack detection #10

Closed umlaeute closed 8 years ago

umlaeute commented 8 years ago

would it be possible to detect the usability of native x86 instructions on the stack at runtime (to prevent segfaults)?

umlaeute commented 8 years ago

and if it was possible, would it be possible to switch to the portable implementation if native cannot be used?

asb2m10 commented 8 years ago

I've found a clean way to avoid the use of execstack; works out of the box on Linux and OS X.

Native should be as stable as the portable one, so I don't see a use case to support both mode in one binary.

The build tough could be modified to check if php and nasm is installed. I'm not just ready "mentally" to add autoconf as a build tool.

umlaeute commented 8 years ago

very :cool:

i think it is enough to enumerate the build dependencies in a place that people will find.