Skip to content

Conversation

@KARTHIK-SH-5
Copy link

commit done by karthik_sh

Description

(in cached.rs file) here it is logically immposible for unwrap() to get panic, as we have used NonZeroUsize
file path->LibAFL\crates\libafl\src\corpus\cached.rs

@tokatoka
Copy link
Member

No, exposing NonZeroUsize in API is ugly

@tokatoka tokatoka closed this Jan 17, 2026
@domenukk domenukk reopened this Jan 19, 2026
@domenukk
Copy link
Member

I think it's the correct thing to do, we do it in other cases. But we need to fix all fuzzer using the nonzero! macro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants