LibAFL icon indicating copy to clipboard operation
LibAFL copied to clipboard

Compile-time edge module compilation check, native support for ConstMapObserver

Open rmalmain opened this issue 1 year ago • 2 comments

follow-up of the patches i introduced in #2520 on edge module. it improves how map_observer guarantees are done at compile-time when building an edge module, with a nicer error message in case the right function is not called.

rmalmain avatar Oct 08 '24 14:10 rmalmain

the trait `Deserialize<'_>` is not implemented for `[T; N]`, which is required by `OwnedMutSizedSliceInner<'_, T, N>: Deserialize<'_>`

domenukk avatar Oct 18 '24 00:10 domenukk

Status?

domenukk avatar Oct 21 '24 17:10 domenukk

You can try if the nonnull!() macro works for pointers as well. It should as long as it can be evaluated in the const context

domenukk avatar Oct 30 '24 12:10 domenukk

good to go @domenukk or is there something else to discuss?

rmalmain avatar Nov 04 '24 10:11 rmalmain

Feel free to merge after cargo fmt, this is good to go.

domenukk avatar Nov 04 '24 13:11 domenukk