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 3814ea3 commit 2bfccbbCopy full SHA for 2bfccbb
src/shims/unix/mem.rs
@@ -49,7 +49,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
49
&& matches!(&*this.tcx.sess.target.os, "macos" | "solaris" | "illumos")
50
&& (flags & map_fixed) != 0
51
{
52
- return interp_ok(Scalar::from_maybe_pointer(Pointer::from_addr_invalid(addr), this));
+ return interp_ok(Scalar::from_maybe_pointer(Pointer::without_provenance(addr), this));
53
}
54
55
let prot_read = this.eval_libc_i32("PROT_READ");
0 commit comments