merged llmp executor
This commit is contained in:
parent
8618289f12
commit
f966e2e807
@ -245,7 +245,6 @@ impl LlmpConnection {
|
|||||||
LlmpConnection::IsClient { client } => client.send_buf(tag, buf),
|
LlmpConnection::IsClient { client } => client.send_buf(tag, buf),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Contents of the share mem pages, used by llmp internally
|
/// Contents of the share mem pages, used by llmp internally
|
||||||
|
@ -12,9 +12,7 @@ use serde::{Deserialize, Serialize};
|
|||||||
//pub mod shmem_translated;
|
//pub mod shmem_translated;
|
||||||
|
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
use std::{
|
use std::io::Write;
|
||||||
io::Write,
|
|
||||||
};
|
|
||||||
|
|
||||||
use crate::corpus::Corpus;
|
use crate::corpus::Corpus;
|
||||||
use crate::executors::Executor;
|
use crate::executors::Executor;
|
||||||
@ -314,7 +312,6 @@ where
|
|||||||
observers_buf,
|
observers_buf,
|
||||||
client_config: _,
|
client_config: _,
|
||||||
} => {
|
} => {
|
||||||
|
|
||||||
// TODO: here u should match client_config, if equal to the current one do not re-execute
|
// TODO: here u should match client_config, if equal to the current one do not re-execute
|
||||||
// we need to pass engine to process() too, TODO
|
// we need to pass engine to process() too, TODO
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
@ -553,7 +550,8 @@ mod tests {
|
|||||||
observers_buf,
|
observers_buf,
|
||||||
client_config: String,
|
client_config: String,
|
||||||
} => {
|
} => {
|
||||||
let o = postcard::from_bytes(&observers_buf).unwrap()
|
let o = postcard::from_bytes(&observers_buf)
|
||||||
|
.unwrap()
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.match_name_type::<StdMapObserver<u32>>("test")
|
.match_name_type::<StdMapObserver<u32>>("test")
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
@ -74,7 +74,7 @@ where
|
|||||||
if state.is_interesting(&input_mut, observers)? > 0 {
|
if state.is_interesting(&input_mut, observers)? > 0 {
|
||||||
// TODO decouple events manager and engine
|
// TODO decouple events manager and engine
|
||||||
manager.fire(Event::new_testcase("test".into(), input_mut, observers)?)?;
|
manager.fire(Event::new_testcase("test".into(), input_mut, observers)?)?;
|
||||||
// let _ = corpus.add(testcase);
|
// let _ = corpus.add(testcase);
|
||||||
} else {
|
} else {
|
||||||
state.discard_input(&input_mut)?;
|
state.discard_input(&input_mut)?;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user