Fuzz testing: research existing KMP/Kotlin ecosystem tooling
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 42/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
调研方向
This is research for parent #981, not an implementation ticket. Start from the listed candidates (Jazzer, Jazzer.js, kotest property testing, JUnit/kotlin.test generators) and check which run on KMP source sets versus jvmTest only. Note how each reports coverage (JaCoCo-style, Gradle/CI wiring) and how other Kotlin/JVM OSS projects time-box fuzz jobs, persist corpora, and report crashes. Done is a short comparison comment or doc page so #981 can pick tools; do not implement fuzzing here. Companion #982 can run in parallel.
由索引模型根据 Issue 内容生成。
描述
Sub-issue of #981 ("Enhance testing by adding fuzzing") — the R: RESEARCH phase for that
proposal. Survey what already exists in the Kotlin/KMP ecosystem before designing anything custom.
Goal
Answer "what can we reuse" before #981 gets to a design/implementation plan.
Tasks
- Fuzzing engines/harnesses for Kotlin/JVM: Jazzer
(JVM libFuzzer via coverage-guided bytecode instrumentation, the most mature option),
Jazzer.js if a JS/Wasm-side target
ever makes sense,kotlinxproperty-based testing options
(kotest property testing),
and plain JUnit/kotlin.test+ custom generators as a baseline comparison. - KMP-specific constraints: which of the above actually work across KMP source sets vs.
JVM-only — most fuzzing engines are JVM-bytecode-based (Jazzer) or Node-based (Jazzer.js),
so figure out realistic target-set scope (likelyjvmTestonly, at least initially) rather
than assuming multiplatform fuzzing is feasible. - Coverage measurement: how each candidate reports/measures coverage (Jazzer integrates
with JaCoCo-style coverage; check what's practical to wire into this repo's existing
Gradle/CI setup), and whether coverage-guided fuzzing (vs. blind random generation) is
achievable here. - CI integration patterns: how other Kotlin/JVM OSS projects run fuzzing in CI — as a
time-boxed job (e.g. N minutes/seeds per run, not exhaustive), corpus persistence between
runs (cached seed corpus so regressions aren't re-discovered from scratch), and how crashes
get reported/triaged (e.g. auto-filed issues vs. failing the build). - Reporting/eval: what output format(s) these tools produce (crash reproducers, minimized
inputs, coverage deltas) and whether any of it is consumable by this repo's existing docs/
Antora pipeline or needs a bespoke summary step. - OSS-Fuzz feasibility: whether SKaiNET could realistically be onboarded to
OSS-Fuzz (free continuous fuzzing for open-source
projects) given it already has Jazzer-based JVM project examples, as a longer-term option
beyond local/CI-only fuzzing.
Output
A short comparison write-up (as a comment on this issue, or a doc page) — not a recommendation
that's already implemented, just enough for #981 to make an informed tool choice.
Related
- Parent: #981
- Companion sub-issue (repo-state analysis, can run in parallel): #982
- 主要语言
- Kotlin
- 星标
- 52
- 派生
- 15
- 平均合并
- 1 天 15 小时
- 30 天内合并 PR
- 36
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SKaiNET-developers/SKaiNET 的其他 Issue
-
coding good first issue size:xs skill:kotlin-core sub-issue
难度 2/5 1-3 小时 新手友好度 88/100
SKaiNET-developers/SKaiNET#1323 ·
维护者通常 1 天内回复
-
coding good first issue platform size:xs skill:js sub-issue
难度 2/5 1-3 小时 新手友好度 72/100
SKaiNET-developers/SKaiNET#1232 ·
维护者通常 1 天内回复
-
skeep tracking
难度 5/5 一周以上 新手友好度 15/100
SKaiNET-developers/SKaiNET#1331 ·
维护者通常 1 天内回复
-
assessment size:s skill:review sub-issue
难度 4/5 1-2 天 新手友好度 18/100
SKaiNET-developers/SKaiNET#1330 ·
维护者通常 1 天内回复
-
documentation good first issue size:s skill:docs sub-issue
难度 3/5 1-2 天 新手友好度 78/100
SKaiNET-developers/SKaiNET#1329 ·
维护者通常 1 天内回复
查看 SKaiNET-developers/SKaiNET 的全部 Issue
相似的 Issue
-
bugbane/qf good first issue
难度 2/5 1-3 小时 新手友好度 64/100
osservatorionessuno/bugbane#173 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
Bayern feature:Application ready web
难度 2/5 1-3 小时 新手友好度 67/100
digitalfabrik/entitlementcard#3176 ·
维护者通常 7 天内回复
-
bug need-device
难度 2/5 1-3 小时 新手友好度 64/100
ramesh130/superplayer#495 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
maxrave-dev/SimpMusic#2649 ·
维护者通常 2 天内回复