Skip to content

Implement a fuzzing oracle for prefix iterator#71

Merged
declanvk merged 1 commit into
mainfrom
prefix-iter-fuzz-oracle
May 4, 2026
Merged

Implement a fuzzing oracle for prefix iterator#71
declanvk merged 1 commit into
mainfrom
prefix-iter-fuzz-oracle

Conversation

@declanvk
Copy link
Copy Markdown
Owner

@declanvk declanvk commented May 2, 2026

Description
Implement a prefix iterator oracle by starting with a range iterator and
filtering the iter based on the item key being prefixed by the lookup
key.

Motivation
Previously the prefix fuzz action performed the lookup, but had no check
on the result. The only thing this fuzzer checked was that it didn't hit
any internal assertions or sanitizer errors. The oracle gives us
confidence that the prefix iterator is actually functioning as intended.

Testing Done
Ran the fuzzer for one hour with no findings.

**Description**
Implement a prefix iterator oracle by starting with a range iterator and
filtering the iter based on the item key being prefixed by the lookup
key.

**Motivation**
Previously the prefix fuzz action performed the lookup, but had no check
on the result. The only thing this fuzzer checked was that it didn't hit
any internal assertions or sanitizer errors. The oracle gives us
confidence that the prefix iterator is actually functioning as intended.

**Testing Done**
Ran the fuzzer for one hour with no findings.
@declanvk declanvk merged commit b4b0f7a into main May 4, 2026
13 of 20 checks passed
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.

1 participant