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

Fix missing -use_value_profile flag in libafl_libfuzzer #2363

Merged
merged 2 commits into from
Jul 5, 2024

Conversation

andreafioraldi
Copy link
Member

No description provided.

# MacOS and iOS
"${CXX:-clang++}" -dynamiclib -Wl,-force_load target/release/libafl_libfuzzer_runtime.a \
-Wl,-U,_LLVMFuzzerInitialize -Wl,-U,_LLVMFuzzerCustomMutator -Wl,-U,_LLVMFuzzerCustomCrossOver -Wl,-U,_libafl_main \
-o libafl_libfuzzer_runtime.dylib
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does dylib work? 😵‍💫

@addisoncrump
Copy link
Collaborator

This looks sane, but I've not tested it. Nor have I ever used libafl's value profile... If you've tested this, then I have no clear objections. The closure for "extra" is likely not extensible but it doesn't really need to be.

@andreafioraldi andreafioraldi merged commit 2356ba5 into main Jul 5, 2024
97 checks passed
@andreafioraldi andreafioraldi deleted the libfuzzer_value_profile branch July 5, 2024 12:09
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.

None yet

2 participants