You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Concurrency bugs in ext/async (races, deadlocks, lost wakeups, refcount
corruption) are non-deterministic and not reachable by unit tests or
byte-level fuzzing. Existing TODOs already point to such bugs: thread_channel/019,024 race, gc_addref assert at shutdown under ASAN.
Proposed approach (incremental)
Property-based testing (PHP level) — random sequences of spawn/send/recv/cancel/close/await, check invariants (refcount==0 after
scope, recv completes after close, etc). Cheap, CI-friendly.
Structure-aware libFuzzer target — sapi/fuzzer/fuzzer-async.c with
protobuf grammar for async ops, mutated by libprotobuf-mutator, run under
ASAN+UBSAN. Catches UAF / double-free / refcount errors in C.
Activity
#102: scheduler fuzz hook (Layer 1) + chaos strategy doc
#102: tests/chaos/: first chaos test, multiset output
#102: chaos harness — Scenario model + generator + first auto-tests
#102: move chaos tests to fuzzy_tests/ (top-level)
#102: chaos harness — Gherkin DSL replaces Action-class model
#102: pre-generate one .phpt per Scenario / Examples row
#102: group fuzzy_tests by topic, attempts/failure invariants
#102: 5 new chaos topics + scope/future/cancel steps
#102: 3 new chaos topics, coverage report, real bug found (#103)
13 remaining items
#102: coroutine: isSuspended() returns false once finished
#102: fuzzy_tests: coroutine/state chaos coverage
#102: fuzzy_tests: channel/non_blocking chaos coverage
#102: fuzzy_tests: channel/scope_owned chaos coverage
#102: fuzzy_tests: cross_topic/cancel_during_io chaos coverage
#102: fuzzy_tests: drop awaitChannel polling, use synchronous prep-phase
#102: fuzzy_tests: shutdown_with_pending chaos coverage + IO_PLAN
#102: fuzzy_tests: per-step --SKIPIF-- generation
#102: ci: run fuzzy chaos suite alongside ext/async/tests
#102: ci: trigger build-linux on pull requests
#102: ci: SKIPIF zts for thread_pool/thread_channel; defer cancel-dur…
Merge pull request #110 from true-async/102-fuzzing-infrastructure-fo…