Developers should write and compile applications to run securely on Oracle Solaris. For general information, see the following:
aslr, nxheap, and nxstack runtime flags in the ld(1) man page
For specific suggestions, see the following:
Runtime Security in Oracle Solaris 11.3 Linkers and Libraries Guide