Open
Description
There seems to be no documentation on exploit mitigations in Rust, specifically:
- What exploit mitigations are supported?
- What mitigations are enabled by default?
- Is that answer different if building with
cargo
instead ofrustc
directly? - Does that vary by platform?
- Is that answer different if building with
- How to enable/disable specific mitigations?
This is relevant not only for security assessment, but also for performance comparison against other languages - both languages need to have the same exploit mitigations enabled for an apples-to-apples comparison.
Metadata
Metadata
Assignees
Labels
Area: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Security (example: address space layout randomization).Category: An issue proposing an enhancement or a PR with one.Project group: Exploit mitigationsRelevant to the compiler team, which will review and decide on the PR/issue.