no_std and format
This commit is contained in:
parent
0fe2c49a17
commit
568f028314
@ -1,4 +1,4 @@
|
|||||||
use alloc::vec::Vec;
|
use alloc::{borrow::ToOwned, vec::Vec};
|
||||||
use core::{cell::RefCell, marker::PhantomData};
|
use core::{cell::RefCell, marker::PhantomData};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ pub use ondisk::OnDiskCorpus;
|
|||||||
pub mod queue;
|
pub mod queue;
|
||||||
pub use queue::QueueCorpus;
|
pub use queue::QueueCorpus;
|
||||||
|
|
||||||
use alloc::vec::Vec;
|
use alloc::{borrow::ToOwned, vec::Vec};
|
||||||
use core::{cell::RefCell, ptr};
|
use core::{cell::RefCell, ptr};
|
||||||
|
|
||||||
use crate::{inputs::Input, utils::Rand, AflError};
|
use crate::{inputs::Input, utils::Rand, AflError};
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
use alloc::vec::Vec;
|
use alloc::{borrow::ToOwned, vec::Vec};
|
||||||
use core::{cell::RefCell, marker::PhantomData};
|
use core::{cell::RefCell, marker::PhantomData};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
|
@ -662,10 +662,12 @@ where
|
|||||||
Ok(BrokerEventResult::Handled)
|
Ok(BrokerEventResult::Handled)
|
||||||
}
|
}
|
||||||
LLMPEventKind::Crash { input: _ } => {
|
LLMPEventKind::Crash { input: _ } => {
|
||||||
|
#[cfg(feature = "std")]
|
||||||
println!("LLMPEvent::Crash");
|
println!("LLMPEvent::Crash");
|
||||||
Ok(BrokerEventResult::Handled)
|
Ok(BrokerEventResult::Handled)
|
||||||
}
|
}
|
||||||
LLMPEventKind::Timeout { input: _ } => {
|
LLMPEventKind::Timeout { input: _ } => {
|
||||||
|
#[cfg(feature = "std")]
|
||||||
println!("LLMPEvent::Timeout");
|
println!("LLMPEvent::Timeout");
|
||||||
Ok(BrokerEventResult::Handled)
|
Ok(BrokerEventResult::Handled)
|
||||||
}
|
}
|
||||||
|
@ -208,7 +208,6 @@ where
|
|||||||
9 => mutation_byteinteresting,
|
9 => mutation_byteinteresting,
|
||||||
10 => mutation_wordinteresting,
|
10 => mutation_wordinteresting,
|
||||||
11 => mutation_dwordinteresting,*/
|
11 => mutation_dwordinteresting,*/
|
||||||
|
|
||||||
_ => mutation_splice,
|
_ => mutation_splice,
|
||||||
};
|
};
|
||||||
mutation(self, rand, corpus, input)?;
|
mutation(self, rand, corpus, input)?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user