3 ms·
This uses OpenBSD's random-data memory [0][1] feature, which was used by the stack protector to provide per shared object cookies. RETGUARD is more than just a
by brynet 8y ago
This uses OpenBSD's random-data memory [0][1] feature, which was used by the stack protector to provide per shared object cookies.
RETGUARD is more than just an improved stack protector, as explained in the commit message it protects function epilogues that are close to return instructions.
[0] https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/libexec/ld.so/SPECS.randomdata https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/lib...
[1] https://www.openbsd.org/innovations.html https://www.openbsd.org/innovations.html