-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Open
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-securityArea: Security (example: address space layout randomization).Area: Security (example: address space layout randomization).C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.PG-exploit-mitigationsProject group: Exploit mitigationsProject group: Exploit mitigationsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
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
cargoinstead ofrustcdirectly? - 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
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-securityArea: Security (example: address space layout randomization).Area: Security (example: address space layout randomization).C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.PG-exploit-mitigationsProject group: Exploit mitigationsProject group: Exploit mitigationsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.