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

Persistent Fuzzing API LibFuzzer #122

Open
zi0Black opened this issue Oct 11, 2024 · 1 comment
Open

Persistent Fuzzing API LibFuzzer #122

zi0Black opened this issue Oct 11, 2024 · 1 comment

Comments

@zi0Black
Copy link

I'm developing a fuzzer that would strongly benefit from persistent fuzzing, since it requires many configuration steps, and doing them once per fuzzing instance can accelerate the process, but I see no macro to interact with LLVMFuzzerInitialize.
http://www.wilfred.me.uk/llvm/LibFuzzer.html#startup-initialization

https://github.com/rust-fuzz/libfuzzer/blob/c8275d1517933765b56a6de61a371bb1cc4268cb/src/lib.rs#L81C1-L98C2, I also noticed that the issue mentioned here in the comments has been resolved.

@fitzgen
Copy link
Member

fitzgen commented Nov 7, 2024

Is there a reason you cannot use std::sync::OnceLock to do the one-time initialization?

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

No branches or pull requests

2 participants