mgradwohl / mgradwohl/tasksmack
[Test] Add fuzz targets for TOML config and theme file parsing
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1
- Forks
- 0
- Avg merge
- 3h 4m
- Merged PRs (30d)
- 115
Description
## Context
Follow-up to #102, which was closed after PR #655 added ClusterFuzzLite fuzzing for the allocation-free `/proc` numeric parser (`tests/fuzz/fuzz_proc_parsing.cpp`).
## Remaining work
The original issue called for three fuzz targets; two remain:
1. **TOML config parsing** — fuzz the settings/config load path (toml++ ingestion and our schema handling)
2. **Theme file parsing** — fuzz theme file loading
## Recommendation
Add libFuzzer targets under `tests/fuzz/` and wire them into the existing ClusterFuzzLite setup (`.clusterfuzzlite/build.sh`, PR/baseline/batch workflows) so they run alongside `fuzz_proc_parsing`.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with tests/fuzz/fuzz_proc_parsing.cpp and the existing ClusterFuzzLite setup in .clusterfuzzlite/build.sh, plus the PR, baseline, and batch workflows. Add fuzz targets for TOML config ingestion/schema handling and theme loading under tests/fuzz, then wire both into the same setup so they run alongside fuzz_proc_parsing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- ci-cd, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100