Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rmalmain committed Nov 3, 2024
1 parent ad413e7 commit 606f5e0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libafl/src/observers/map/const_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ where
#[must_use]
pub unsafe fn from_mut_ptr(name: &'static str, map_ptr: ptr::NonNull<T>) -> Self {
ConstMapObserver {
map: OwnedMutSizedSlice::from_raw_parts_mut(map_ptr),
map: OwnedMutSizedSlice::from_raw_mut(map_ptr),
name: Cow::from(name),
initial: T::default(),
}
Expand Down
2 changes: 1 addition & 1 deletion libafl_bolts/src/ownedref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>() * N`
/// The content will be dereferenced in subsequent operations.
#[must_use]
pub unsafe fn from_raw_parts_mut(ptr: NonNull<T>) -> OwnedMutSizedSlice<'a, T, N> {
pub unsafe fn from_raw_mut(ptr: NonNull<T>) -> OwnedMutSizedSlice<'a, T, N> {
Self {
inner: OwnedMutSizedSliceInner::RefRaw(
ptr.as_ptr() as *mut [T; N],
Expand Down
Empty file removed libafl_qemu/src/modules/edges.rs
Empty file.

0 comments on commit 606f5e0

Please sign in to comment.