diff --git a/libafl/src/inputs/bytes.rs b/libafl/src/inputs/bytes.rs index 75cccd24be..1981923b7e 100644 --- a/libafl/src/inputs/bytes.rs +++ b/libafl/src/inputs/bytes.rs @@ -102,6 +102,12 @@ impl From<&[u8]> for BytesInput { } } +impl From for Vec { + fn from(value: BytesInput) -> Vec { + value.bytes + } +} + impl BytesInput { /// Creates a new bytes input using the given bytes #[must_use]