Speykious / cve-rs

Blazingly 🔥 fast 🚀 memory vulnerabilities, written in 100% safe Rust. 🦀
Other
3.72k stars 94 forks source link

Experiment with `transmute` without `black_box` or `#[inline(never)]` #26

Open Speykious opened 4 months ago

Speykious commented 4 months ago

I want to see if it's possible. The original reason for using black_box and #[inline(never)] everywhere is because we used stack spamming and that the stack was extremely unpredictable. Since we're not doing that anymore, we might not need all of this compiler hint witchery (for anything other than use_after_free which doesn't use transmute).