pub panic_on_unsupported: bool,
/// Which style to use for printing backtraces.
pub backtrace_style: BacktraceStyle,
- /// Whether to enforce "strict provenance" rules. Enabling this means int2ptr casts return
- /// pointers with an invalid provenance, i.e., not valid for any memory access.
- pub strict_provenance: bool,
+ /// Which provenance to use for int2ptr casts
+ pub provenance_mode: ProvenanceMode,
/// Whether to ignore any output by the program. This is helpful when debugging miri
/// as its messages don't get intermingled with the program messages.
pub mute_stdout_stderr: bool,
measureme_out: None,
panic_on_unsupported: false,
backtrace_style: BacktraceStyle::Short,
- strict_provenance: false,
+ provenance_mode: ProvenanceMode::Legacy,
mute_stdout_stderr: false,
}
}
start_instance,
Abi::Rust,
&[Scalar::from_pointer(main_ptr, &ecx).into(), argc.into(), argv],
- Some(&ret_place.into()),
+ &ret_place.into(),
StackPopCleanup::Root { cleanup: true },
)?;
}
entry_instance,
Abi::Rust,
&[argc.into(), argv],
- Some(&ret_place.into()),
+ &ret_place.into(),
StackPopCleanup::Root { cleanup: true },
)?;
}