Skip to content

Conversation

@atharva-potdar
Copy link
Contributor

Related to #1907, this PR addresses the TODOs present in the baby_fuzzers. I'm still new to open source contributions, but I think I did all pre-flight checks from CONTRIBUTING.md. If there's anything I can improve, let me know. Thank you!

@atharva-potdar atharva-potdar marked this pull request as draft November 24, 2025 14:58
@atharva-potdar
Copy link
Contributor Author

The 2 failing checks are unrelated to the changes I made. My changes are purely related to baby_fuzzers which all passed. What could the issue be?

@atharva-potdar
Copy link
Contributor Author

It seems those 2 checks are also failing on other recent and merged PRs.

@atharva-potdar atharva-potdar marked this pull request as ready for review November 24, 2025 15:32
// TODO: This will break soon, fix me! See https://github.com/AFLplusplus/LibAFL/issues/2786
#[allow(static_mut_refs)] // only a problem in nightly
let observer = unsafe { StdMapObserver::from_mut_ptr("signals", SIGNALS_PTR, SIGNALS.len()) };
let observer = unsafe { StdMapObserver::from_mut_ptr("signals", SIGNALS_PTR, SIGNALS_LEN) };
Copy link
Member

Choose a reason for hiding this comment

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

It would be better if these used ConstMapOververs, see this discussion:
#2770 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I couldn't implement ConstMapObserver in baby_fuzzer_swap_differential but I implemented it into the rest of the files I changed

@atharva-potdar
Copy link
Contributor Author

The third test case that failed here (other than the 2 that were already failing) also failed on the latest commit pushed to the repo

@domenukk
Copy link
Member

Awesome, thank you! Yes the failing testcases are due to a Rust update, not this PR :)

@domenukk domenukk merged commit a812faa into AFLplusplus:main Nov 24, 2025
107 of 110 checks passed
@atharva-potdar atharva-potdar deleted the signals-static-refs-fix branch November 25, 2025 13:43
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.

2 participants