Skip to content

docs(fuzz): describe how to add and register a new fuzz target - #494

Open
IVANLI2412 wants to merge 1 commit into
Zenith-options:mainfrom
IVANLI2412:docs/issue-445
Open

IVANLI2412 wants to merge 1 commit into
Zenith-options:mainfrom
IVANLI2412:docs/issue-445

Conversation

@IVANLI2412

Copy link
Copy Markdown

Fixes #445. Closes #445.

Changes:

  • Expanded the existing four-line checklist in the Adding a new target section of fuzz/README.md: real template link to fuzz/fuzz_targets/cursor_query.rs, a [[bin]] registration snippet matching fuzz/Cargo.toml, the corpus convention (one descriptively named file per seed, with examples from fuzz/corpus/cursor_query/), registration in both matrix.target lists in .github/workflows/fuzz.yml, and the cargo fuzz run smoke-test command from the workspace root. No target was added.

Validation (real, on a depth-1 clone of main):

  • Test-Path on fuzz/fuzz_targets/cursor_query.rs, fuzz/corpus/cursor_query/, its named seeds (default_page, min_limit, over_max_clamped, non_numeric, i64_max), fuzz/Cargo.toml and .github/workflows/fuzz.yml => all True; the README relative link target also resolves.
  • Checked fuzz/Cargo.toml contains [[bin]] entries and the workflow has two matrix.target lists, so the documented steps match the tree.
  • No cargo/rustc was run (disk-space constraint), so the suggested throwaway-target test was not performed; docs only, 1 file changed (+36/-4).

Payment method: PayPal ivanzenteno3@gmail.com

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.

fuzz/README.md does not say how to add a new fuzz target

1 participant