-
Notifications
You must be signed in to change notification settings - Fork 38
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
Integrating with OSS-Fuzz #29
Comments
Here is a fuzz target you can use and uses a library called FuzzedDataProvider: #include <queue>
#include <string>
#include "effcee/effcee.h"
#include "FuzzedDataProvider.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
FuzzedDataProvider stream(data, size);
std::string text = stream.ConsumeRandomLengthString(size);
std::string checks = stream.ConsumeRemainingBytesAsString();
effcee::Match(text, checks);
return 0;
} |
Thanks for your patience waiting for this delayed reply. My team uses Effcee in googletest-based tests in our other projects, so Effcee normally handles only trusted inputs in very controlled ways. However, I appreciate and value the desire to fix any bugs OSS-Fuzz may find. |
Glad to hear that you are interested in integrating Effcee with OSS-Fuzz! :) Please let us know if you need help in integrating it to OSS-Fuzz. Here is the link that consists of a guide to upstream new project to OSS-Fuzz: https://github.com/google/oss-fuzz/blob/master/docs/getting-started/new_project_guide.me |
Greetings effcee developers and contributors,
We’re reaching out because your project is an important part of the open source ecosystem, and we’d like to invite you to integrate with our fuzzing service, OSS-Fuzz. OSS-Fuzz is a free fuzzing infrastructure you can use to identify security vulnerabilities and stability bugs in your project. OSS-Fuzz will:
Many widely used open source projects like OpenSSL, FFmpeg, LibreOffice, and ImageMagick are fuzzing via OSS-Fuzz, which helps them find and remediate critical issues.
Even though typical integrations can be done in < 100 LoC, we have a reward program in place which aims to recognize folks who are not just contributing to open source, but are also working hard to make it more secure.
We want to stress that anyone who meets the eligibility criteria and integrates a project with OSS-Fuzz is eligible for a reward.
To help you getting started, we can provide an internal fuzzer for your project that you are welcome to use directly, or to use it as a starting point.
If you're not interested in integrating with OSS-Fuzz, it would be helpful for us to understand why—lack of interest, lack of time, or something else—so we can better support projects like yours in the future.
If we’ve missed your question in our FAQ, feel free to reply or reach out to us at [email protected].
Thanks!
Tommy
OSS-Fuzz Team
The text was updated successfully, but these errors were encountered: