5 ms·
I think what they were getting at is that ASLR doesn't work at all (for the main program) if you're not running a PIE binary. The libraries still get it (they u
by aaronmdjones 8y ago
I think what they were getting at is that ASLR doesn't work at all (for the main program) if you're not running a PIE binary. The libraries still get it (they usually have to be PIC by design) but that's not much benefit when the application using those libraries has entirely predictable addresses.
So yeah, your binaries need to be built with CFLAGS="-fPIE" and linked with LDFLAGS="-pie".