CFI: Refactor: Split into modules#123521
Conversation
|
Some changes occurred in compiler/rustc_symbol_mangling/src/typeid cc @rust-lang/project-exploit-mitigations, @rcvalle |
|
I'll take a look at it, but it might have to wait a little bit because we're in the middle of moving all sanitizers related code into a rustc_sanitizers crate and stabilizing the core sanitizers, and we'll have to see how it fits in the planned design (@davidtwco and I). |
|
☔ The latest upstream changes (presumably #123517) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Thanks a lot for your time and work on this, @maurer! Much appreciated. I took a look, and after #123620 is merged, I think we what we want from here is:
The abstraction for Would you mind rebasing these on top of #123620 whenever you have time? |
|
@rustbot author |
|
@maurer any updates on this? thanks |
|
Closing this as inactive. Feel free to reöpen this pr or create a new pr if you get the time to work on this. Thanks |
We have almost all the implementation in a single ~1200 line file, and have had a lot of churn that leaves debris around.
I believe this to be no-functional-change, just code organization and cleanup.
This change:
instance, which has our instance generalization code,ty, which has thetransform_tylogic, anditanium_cxx_abi, which has the type encoding.use rustc_symbol_mangling::typeid;instance::transformandty::transform