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

[DocDB] Add LibFuzzer support to yb_build.sh #15378

Open
NatashaSerebryanaya opened this issue Dec 19, 2022 · 0 comments
Open

[DocDB] Add LibFuzzer support to yb_build.sh #15378

NatashaSerebryanaya opened this issue Dec 19, 2022 · 0 comments
Assignees
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/medium Medium priority issue

Comments

@NatashaSerebryanaya
Copy link
Contributor

NatashaSerebryanaya commented Dec 19, 2022

Jira Link: DB-4511

Description

Add LibFuzzer support to yb builds.

@NatashaSerebryanaya NatashaSerebryanaya added area/docdb YugabyteDB core features status/awaiting-triage Issue awaiting triage labels Dec 19, 2022
@NatashaSerebryanaya NatashaSerebryanaya self-assigned this Dec 19, 2022
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue and removed status/awaiting-triage Issue awaiting triage labels Dec 19, 2022
NatashaSerebryanaya added a commit that referenced this issue Feb 14, 2023
Summary:
Adding a sample fuzz target rocksdb/util/fuzz-targets/coding_fuzz_target.cc.
Adding a sample fuzz target docdb/fuzz-targets/doc_key-fuzz_target.cc that uses FuzzedDataProvider for splitting a single fuzzer-generated input into several parts.
To build existing fuzz targets use  --with-fuzz-targets with yb_build.sh.
To add a fuzz target use ADD_YB_FUZZ_TARGET(test_name) in cmake.
Fuzz targets are built into ${BUILD_DIR}/fuzz-targets-${CTEST_PREFIX}.
Asan build is the preferred one for fuzzing.

Test Plan: Jenkins: compile only

Reviewers: bogdan, mbautin

Reviewed By: mbautin

Subscribers: bogdan, mbautin

Differential Revision: https://phabricator.dev.yugabyte.com/D21856
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/medium Medium priority issue
Projects
None yet
Development

No branches or pull requests

2 participants