code format
This commit is contained in:
parent
d0f2507ab4
commit
d7a830cd68
@ -206,10 +206,12 @@ where
|
|||||||
Ok(_) => found = true,
|
Ok(_) => found = true,
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
if retry_count == 20 {
|
if retry_count == 20 {
|
||||||
return Err(AflError::Empty("No suitable testcase found for splicing".to_owned()));
|
return Err(AflError::Empty(
|
||||||
|
"No suitable testcase found for splicing".to_owned(),
|
||||||
|
));
|
||||||
}
|
}
|
||||||
retry_count += 1;
|
retry_count += 1;
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
if found {
|
if found {
|
||||||
break other_rr;
|
break other_rr;
|
||||||
@ -318,7 +320,7 @@ mod tests {
|
|||||||
use crate::corpus::{Corpus, InMemoryCorpus};
|
use crate::corpus::{Corpus, InMemoryCorpus};
|
||||||
use crate::inputs::BytesInput;
|
use crate::inputs::BytesInput;
|
||||||
use crate::mutators::scheduled::mutation_splice;
|
use crate::mutators::scheduled::mutation_splice;
|
||||||
use crate::utils::{Xoshiro256StarRand, DefaultHasRand};
|
use crate::utils::{DefaultHasRand, Xoshiro256StarRand};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_mut_splice() {
|
fn test_mut_splice() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user