Skip to content

test: add fuzz test for upb dependency index validation#26720

Open
KevinZhao wants to merge 1 commit intoprotocolbuffers:mainfrom
KevinZhao:upb-dep-fuzz-test
Open

test: add fuzz test for upb dependency index validation#26720
KevinZhao wants to merge 1 commit intoprotocolbuffers:mainfrom
KevinZhao:upb-dep-fuzz-test

Conversation

@KevinZhao
Copy link
Copy Markdown

Summary

Test plan

  • CI passes with safe for tests label
  • Fuzz test builds and links correctly against fuzztest framework

🤖 Generated with Claude Code

@google-cla
Copy link
Copy Markdown

google-cla bot commented Apr 4, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@KevinZhao KevinZhao force-pushed the upb-dep-fuzz-test branch 2 times, most recently from 2fc3d3a to f8db0de Compare April 6, 2026 05:19
Adds a fuzz test that exercises upb DefPool file loading with arbitrary
FileDescriptorSet protos. The test covers dependency index validation
paths in file_def.c, including the public_dependency and weak_dependency
accessors.

Split from protocolbuffers#26562 per reviewer request.
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.

2 participants