This is a tracking issue for standardizing the control-flow enforcement technology (CET) flag, cf-protection.
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
Unresolved Questions
If we do build the standard libraries with cf-protection enabled, any assembly code in the libraries will need to be manually checked to see to it that when this flag is set, ENDBR* instructions are inserted in the right places.
Implementation history
See #93439.
This is a tracking issue for standardizing the control-flow enforcement technology (CET) flag,
cf-protection.About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
cf-protectioncf-protectionflag as a-Ccodegen flagUnresolved Questions
cf-guard,cf-protection,branch-protection) under a common flag interfacecf-protectionby defaultIf we do build the standard libraries with
cf-protectionenabled, any assembly code in the libraries will need to be manually checked to see to it that when this flag is set, ENDBR* instructions are inserted in the right places.Implementation history
See #93439.