diff --git a/libafl/src/inputs/encoded.rs b/libafl/src/inputs/encoded.rs index c86727ca93..7690527291 100644 --- a/libafl/src/inputs/encoded.rs +++ b/libafl/src/inputs/encoded.rs @@ -271,6 +271,7 @@ mod tests { }; #[test] + #[cfg_attr(all(miri, target_arch = "aarch64", target_vendor = "apple"), ignore)] // Regex miri fails on M1 fn test_input() { let mut t = NaiveTokenizer::default(); let mut ed = TokenInputEncoderDecoder::new(); diff --git a/libafl/src/mutators/mutations.rs b/libafl/src/mutators/mutations.rs index d2c5a745c4..2e19892873 100644 --- a/libafl/src/mutators/mutations.rs +++ b/libafl/src/mutators/mutations.rs @@ -1569,6 +1569,7 @@ mod tests { /// This test guarantees that the likelihood of a byte being re-inserted is equally likely #[test] + #[cfg_attr(all(miri, target_arch = "aarch64", target_vendor = "apple"), ignore)] // Regex miri fails on M1 fn test_insert() -> Result<(), Error> { let base = BytesInput::new((0..10).collect()); let mut counts = [0usize; 10]; @@ -1618,6 +1619,7 @@ mod tests { /// This test guarantees that the likelihood of a random byte being inserted is equally likely #[test] + #[cfg_attr(all(miri, target_arch = "aarch64", target_vendor = "apple"), ignore)] // Regex miri fails on M1 fn test_rand_insert() -> Result<(), Error> { let base = BytesInput::new((0..10).collect()); let mut counts = [0usize; 256];