Small tool to run applications not compatible with ASLR mechanism (for MacOS)
You need to install X-Code to build this tool
To build aslr-wrapper:
% cc -o aslr-wrapper main.c
To build test application:
% cc -o test-app test.c
- Check if ASLR is used:
% ./test 0x16f7537cc % ./test 0x16f65f7cc
- If the output is different then ASLR is used
- Rename the original app an make the symlink:
% mv test test.orig % ln -s aslr-wrapper test
- Check again:
% ./test 0x16fdff7cc % ./test 0x16fdff7cc
- If the output is the same then ASLR is disabled