comments
This commit is contained in:
parent
6f994990c0
commit
dc86af2b94
@ -539,6 +539,8 @@ pub enum LLMPEventKind<'a, I>
|
|||||||
where
|
where
|
||||||
I: Input,
|
I: Input,
|
||||||
{
|
{
|
||||||
|
// TODO use an ID to keep track of the original index in the sender Corpus
|
||||||
|
// The sender can then use it to send Testcase metadatas with CustomEvent
|
||||||
NewTestcase {
|
NewTestcase {
|
||||||
input: Ptr<'a, I>,
|
input: Ptr<'a, I>,
|
||||||
observers_buf: Vec<u8>,
|
observers_buf: Vec<u8>,
|
||||||
|
@ -4,6 +4,8 @@ use alloc::boxed::Box;
|
|||||||
use alloc::vec::Vec;
|
use alloc::vec::Vec;
|
||||||
use core::any::{Any, TypeId};
|
use core::any::{Any, TypeId};
|
||||||
|
|
||||||
|
// yolo
|
||||||
|
|
||||||
pub fn pack_type_id(id: u64) -> TypeId {
|
pub fn pack_type_id(id: u64) -> TypeId {
|
||||||
unsafe { *(&id as *const u64 as *const TypeId) }
|
unsafe { *(&id as *const u64 as *const TypeId) }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user