-
-
Notifications
You must be signed in to change notification settings - Fork 326
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
Add optional feature to share objectives between nodes #2754
base: main
Are you sure you want to change the base?
Conversation
Do tell me if I have overlooked anything. Also, is this okay as a compile-time option? |
yeah |
Does LibAFL have a preferred way to tackle conditional trait bounds based on compile-time features? I am having to add optional trait bounds by dividing implementations based on features, and is causing massive code duplication |
The implementation of |
@tokatoka is this issue fixed? Should I stop working on this issue? |
no i closed because you have this PR |
I suggest we leave issues open until they are actually fixed in |
Any idea why |
Seems like the |
libafl/src/events/llmp/mod.rs
Outdated
} | ||
} | ||
|
||
#[cfg(feature = "share_objectives")] |
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.
do you need to do like this?
you can just add to the previous impl LlmpEventConverter
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.
I would even prefer to do this with a runtime flag, the overhead is minimal since there are not too many objectives found. Then the code is cleaner I think(?)
Should I try implementing this in some other way? |
@tokatoka I am having to declare the method |
fixes issue #1917