Merge pull request #1 from sphynx/master

Fix stackoverflow link about address space randomization
This commit is contained in:
Remzi Arpaci-Dusseau
2018-10-06 21:35:10 -05:00
committed by GitHub

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