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

Asan guest fix #2986

Merged
merged 3 commits into from
Feb 17, 2025
Merged

Asan guest fix #2986

merged 3 commits into from
Feb 17, 2025

Conversation

WorksButNotTested
Copy link
Collaborator

This PR changes the following:

  • Checks the configuration of the shadow map in first_exec rather than post_qemu_init to give the target chance to initialize
  • Configures the shadow ranges with MADV_DONTDUMP to attempt to exclude them from any core dump (not sure if QEMU is taking any notice of this though).
  • Adds support to the snapshot module to allow the user to configure some regions to be zeroed. This prevents the need for the snapshot module to take a complete copy of all of the shadow ranges, but still allows them to be reset.

@domenukk domenukk requested a review from rmalmain February 17, 2025 13:53
@domenukk
Copy link
Member

For some reason libfuzzer_stb_image_sugar doesn't work on this PR(?)

Also, this needs some clippy love :)

@rmalmain rmalmain merged commit f5a01ee into AFLplusplus:main Feb 17, 2025
107 checks passed
@WorksButNotTested WorksButNotTested deleted the asan_guest_fix branch February 18, 2025 07:48
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