Skip to content
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

AFL++ redqueen update #1291

Merged
merged 21 commits into from
Jul 3, 2023
Merged

AFL++ redqueen update #1291

merged 21 commits into from
Jul 3, 2023

Conversation

tokatoka
Copy link
Member

@tokatoka tokatoka commented May 23, 2023

update with a working example & various fixes
todo:

  • add tokens to state in the mutator

@tokatoka tokatoka changed the title Forkserver example using AFL++ redqueen AFL++ redqueen update May 23, 2023
@@ -346,7 +346,7 @@ fn fuzz(
cmplog_shmem.write_to_env("__AFL_CMPLOG_SHM_ID").unwrap();
let cmpmap = unsafe { cmplog_shmem.as_object_mut::<AFLppCmpMap>() };

let cmplog_observer = StdCmpObserver::new("cmplog", cmpmap, true);
let cmplog_observer = ForkserverCmpObserver::new("cmplog", cmpmap, true);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we need different observers for different executors, can we add type constraints so they cannot be misused?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for this ForkserverCmpObserver, No.

I think this is related issue to #23.
I think we have too many hidden dependency
"module this depends on module that" but that is not very clear if the user understands well about each module.

@s1341
Copy link
Collaborator

s1341 commented Jun 21, 2023

what's the status of this?

@tokatoka
Copy link
Member Author

it works but it tries too many cmplog attempts, thus making it super slow..

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