Skip to content

stateful runner: handle Address in generate_inputs - #2

Open
booleanfunction wants to merge 1 commit into
MoveIndustries:masterfrom
booleanfunction:fix/stateful-address-arm
Open

stateful runner: handle Address in generate_inputs#2
booleanfunction wants to merge 1 commit into
MoveIndustries:masterfrom
booleanfunction:fix/stateful-address-arm

Conversation

@booleanfunction

Copy link
Copy Markdown

What

The stateful runner's generate_inputs was missing the FuzzerType::Address arm at src/runner/stateful_runner/aptos_runner.rs. Any stateful fuzz target with an address parameter hit unimplemented!() at the catch-all and crashed.

Why it matters

Silently blocks stateful fuzzing of any Aptos target with an address parameter — i.e. most non-trivial contracts (mint(recipient, ...), withdraw(admin_addr, ...), etc.).

Fix

Add the missing arm. Mirrors the stateless runner's equivalent at src/runner/stateless_runner/aptos_runner_utils.rs:175 — same conversion logic, no new pattern.

Other

Gitignore *.code-workspace (VSCode workspace files) and CLAUDE.md (local-only Claude orientation files) — both should be personal, not shared.

The stateful runner's generate_inputs was missing a FuzzerType::Address
arm and fell through to unimplemented!() for any target with an address
parameter. The stateless runner's equivalent function handles it
correctly; mirror the same arm here.

Also gitignore *.code-workspace and CLAUDE.md (local-only orientation
file).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant