I'm currently testing some exploits on a little program I wrote, and would like to know if there was a way of "coding" an ASLR-like protection - or just using some compilation tricks to manufacture it - with restricted possible offsets values (like 16).
What ASLR is : http://en.wikipedia.org/wiki/Address_space_layout_randomization
Also, if this can be of any help, I'm using i686-w64-mingw-gcc to compile my sources, maybe there is already an option for that (but I didn't find one).
Thank you !