Skip to content

Forkserver: Add __AFL_SHM_FUZZ_MAP_SIZE, clean up env variables #3235

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

Merged
merged 4 commits into from
May 16, 2025

Conversation

domenukk
Copy link
Member

@domenukk domenukk commented May 15, 2025

Description

This adds the __AFL_SHM_FUZZ_MAP_SIZE env for the forkserver target (to know about the input page size) - as discussed in #3229

Checklist

  • I have run ./scripts/precommit.sh and addressed all comments

Copy link
Member

Choose a reason for hiding this comment

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

don't delete

Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't. Is it in gitignore?

Copy link
Member

Choose a reason for hiding this comment

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

all .lock files are in gitignore, but it is about un-committed files, i guess. for this one, we already committed so any change to it on your side is reflected

Copy link
Member Author

@domenukk domenukk May 15, 2025

Choose a reason for hiding this comment

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

Nope we totally need to have no checked in files ignored in the gitignore else... well this happens

Copy link
Member Author

Choose a reason for hiding this comment

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

Allowed Cargo.lock for all fuzzers now, because it makes sense

Copy link
Member Author

Choose a reason for hiding this comment

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

Might regret later xD

@domenukk
Copy link
Member Author

domenukk commented May 15, 2025

Waiting for AFLplusplus/AFLplusplus#2430

@domenukk domenukk changed the title Forkserver: Clean up env variables, add env for map size Forkserver: Add __AFL_SHM_FUZZ_MAP_SIZE, clean up env variables May 15, 2025
@domenukk domenukk merged commit 8b0fc8c into main May 16, 2025
111 checks passed
@domenukk domenukk deleted the shmem_input_env_variable branch May 16, 2025 10:15
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