Conversation
099bc89 to
5dc6b69
Compare
🔍 Arkana Review — introspector#43Fuzz all the things — ArkadeScript tokenizer + opcode fuzzing Adds 2 fuzz test files (210 lines) targeting critical ArkadeScript execution paths. tokenizer_fuzz_test.go
opcodes_fuzz_test.go
Security observations:
Suggestions for future iterations (non-blocking):
Strong foundation for the fuzzing infrastructure. LGTM 👍 |
a39ea74 to
94c468c
Compare
Code Review — "Fuzz all the things" (PR #43)Significant expansion since the last review. This is now a comprehensive fuzzing and property-based testing framework for the entire ArkadeScript opcode set. 3489 lines added across two fuzz targets, a complete rewrite of Fuzzing CoverageTokenizer fuzzer ( Opcode fuzzer (
The The seed corpus of 4 entries is small but these are likely regression cases found during development. The in-code seeds ( Coverage gaps noted in PR description: Whole-script execution fuzzing (random valid PSBT + valid script + witness) is still TODO. This is the highest-value remaining target for catching end-to-end issues. Property-Based Test Framework (
|
|
Once #55 is merged, I'll rebase and add an opcode spec for unit tests and fuzzing. |
- fuzz command: go test . -run=^$ -fuzz=FuzzArkadeScriptTokenizer -fuzztime=10m (run in pkg/arkade) - total fuzz time: ~20m - errors: none (PASS, no crashes/panics) - total interesting cases: 63
94c468c to
8cc9b8c
Compare
Works towards #39
Fuzz Targets:
Future refactoring work:
pkg/arkade