-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct fortanix LVI test print function #111058
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
r? @cuviper since you reviewed some (all?) of these LVI tests. Could you take a look? |
Can this (tiny) PR get a review please? |
I honestly have no idea how to tell if this update is correct. What exactly is this testing, and what changed to make it need an update? |
LVI is a transient execution vulnerability. It's mostly an issue for Intel SGX enclaves as its attack model is so strong. Due to LVI even very simple assembly instructions such as |
We should understand this |
If the main point is to avoid |
3d76301
to
65bd11c
Compare
This comment has been minimized.
This comment has been minimized.
65bd11c
to
826b526
Compare
This comment has been minimized.
This comment has been minimized.
826b526
to
b35f243
Compare
@bors r+ |
…, r=cuviper Correct fortanix LVI test print function A recent change resulted in a different machine code for the `print` function. This caused the LVI test for this function to fail. This PR: - Fixes the test for the `print` function - Simplified the test a bit so future modifications are more unlikely cc: `@jethrogb`
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#111058 (Correct fortanix LVI test print function) - rust-lang#111369 (Added custom risc32-imac for esp-espidf target) - rust-lang#111962 (Make GDB Python Pretty Printers loadable after spawning GDB, avoiding required `rust-gdb`) - rust-lang#112019 (Don't suggest changing `&self` and `&mut self` in function signature to be mutable when taking `&mut self` in closure) - rust-lang#112199 (Fix suggestion for matching struct with `..` on both ends) - rust-lang#112220 (Cleanup some `EarlyBinder::skip_binder()` -> `EarlyBinder::subst_identity()`) - rust-lang#112325 (diagnostics: do not suggest type name tweaks on type-inferred closure args) r? `@ghost` `@rustbot` modify labels: rollup
A recent change resulted in a different machine code for the
print
function. This caused the LVI test for this function to fail. This PR:print
functioncc: @jethrogb