Fix stackoverflow link about address space randomization

This commit is contained in:
Ivan Veselov
2018-10-06 21:30:01 +01:00
parent 1261012439
commit 2f2202c315

View File

@@ -34,7 +34,7 @@ One issue with mem.c is that address space randomization is usually on by
default. To turn it off: default. To turn it off:
### macOS ### macOS
From [stackoverflow](stackoverflow.com/questions/23897963/documented-way-to-disable-aslr-on-os-x) From [stackoverflow](http://stackoverflow.com/questions/23897963/documented-way-to-disable-aslr-on-os-x)
Just compile/link as follows: Just compile/link as follows:
gcc -o mem mem.c -Wall -Wl,-no_pie gcc -o mem mem.c -Wall -Wl,-no_pie