add option for recursive field retagging

This commit is contained in:
Ralf Jung 2022-06-29 17:53:09 -04:00
parent 328a8c7a1e
commit c4e86e103e
11 changed files with 146 additions and 6 deletions

View file

@ -124,6 +124,8 @@ pub struct MiriConfig {
pub preemption_rate: f64,
/// Report the current instruction being executed every N basic blocks.
pub report_progress: Option<u32>,
/// Whether Stacked Borrows retagging should recurse into fields of datatypes.
pub retag_fields: bool,
}
impl Default for MiriConfig {
@ -154,6 +156,7 @@ impl Default for MiriConfig {
mute_stdout_stderr: false,
preemption_rate: 0.01, // 1%
report_progress: None,
retag_fields: false,
}
}
}