Closed looptc closed 1 month ago
@looptc Thanks for the PR, I approached the same based on your suggestions in https://github.com/keshavbhatt/whatsie/commit/4720ffebebcb7e81c7f6e4f193a5732e5bee73ca let me know if it is enough.
Looks awesome! Thank you.
Hi,
I would like to have those secure flags by default on the main repo because they improve the security of the binary procuded by the compilation process.
This pull request only gives support to ROP protection with the -mbranch-protection flag on aarch64, but specifying -fcf-protection can enable it for x86_64.
I don't know how to make a platform dependant compilation flags switching, but maybe you encounter this pull request interesting and know how to do it well.
Best regards.