mgradwohl / mgradwohl/tasksmack

[Test] Add fuzz targets for TOML config and theme file parsing

Open
#673 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement priority: low security testing
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.