diff --git a/libafl/src/observers/map/const_map.rs b/libafl/src/observers/map/const_map.rs index c64f05d114..f928e66ca1 100644 --- a/libafl/src/observers/map/const_map.rs +++ b/libafl/src/observers/map/const_map.rs @@ -201,7 +201,7 @@ where #[must_use] pub unsafe fn from_mut_ptr(name: &'static str, map_ptr: ptr::NonNull) -> Self { ConstMapObserver { - map: OwnedMutSizedSlice::from_raw_parts_mut(map_ptr), + map: OwnedMutSizedSlice::from_raw_mut(map_ptr), name: Cow::from(name), initial: T::default(), } diff --git a/libafl_bolts/src/ownedref.rs b/libafl_bolts/src/ownedref.rs index d051b98d0c..d28faa15f1 100644 --- a/libafl_bolts/src/ownedref.rs +++ b/libafl_bolts/src/ownedref.rs @@ -943,7 +943,7 @@ impl<'a, T: 'a + Sized, const N: usize> OwnedMutSizedSlice<'a, T, N> { /// The pointer must be valid and point to a map of the size `size_of() * N` /// The content will be dereferenced in subsequent operations. #[must_use] - pub unsafe fn from_raw_parts_mut(ptr: NonNull) -> OwnedMutSizedSlice<'a, T, N> { + pub unsafe fn from_raw_mut(ptr: NonNull) -> OwnedMutSizedSlice<'a, T, N> { Self { inner: OwnedMutSizedSliceInner::RefRaw( ptr.as_ptr() as *mut [T; N], diff --git a/libafl_qemu/src/modules/edges.rs b/libafl_qemu/src/modules/edges.rs deleted file mode 100644 index e69de29bb2..0000000000