We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b90dee commit e383a47Copy full SHA for e383a47
src/tools/miri/src/shims/native_lib.rs
@@ -168,6 +168,9 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
168
this.prepare_for_native_call(alloc_id, prov)?;
169
}
170
171
+
172
+ // FIXME: In the future, we should also call `prepare_for_native_call` on all previously
173
+ // exposed allocations, since C may access any of them.
174
175
// Convert them to `libffi::high::Arg` type.
176
let libffi_args = libffi_args
0 commit comments