-
-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile-time edge module compilation check, native support for ConstMapObserver #2592
Conversation
* update frida crate to the latest version * adapt libafl_frida to the latest version of frida
replaced OwnedSlice in ConstMapObserver by the new OwnedSizedSlice.
|
Status? |
You can try if the |
fuzzers/baby/backtrace_baby_fuzzers/c_code_with_fork_executor/src/main.rs
Outdated
Show resolved
Hide resolved
good to go @domenukk or is there something else to discuss? |
fuzzers/baby/backtrace_baby_fuzzers/c_code_with_fork_executor/src/main.rs
Outdated
Show resolved
Hide resolved
|
||
impl StdEdgeCoverageClassicModule { | ||
#[must_use] | ||
pub fn builder() -> StdEdgeCoverageClassicModuleBuilder { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At some point it would be beautiful to start documenting anything... Like, what does classic mean?
@@ -150,37 +148,30 @@ where | |||
} | |||
} | |||
|
|||
impl<T, const N: usize> VariableLengthMapObserver for ConstMapObserver<'_, T, N> | |||
impl<T, const N: usize> ConstantLengthMapObserver<N> for ConstMapObserver<'_, T, N> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about renaming them to ConstLenMapObserver
and VarLenMapObserver
btw? Seems shorter and just as to clear.
Random idea of course, feel free to ignore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok for me, both work out imho
Feel free to merge after |
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.