Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Fuzzing #136

@slyrz

Description

@slyrz

Hello Ty and all the other bincode developers,

I just want to let you know I wrote a small crate to fuzz bincode. It's a program that creates and compiles random type signatures, fills them with values and then serializes/deserializes them to check that what was put in came out right again. It also mutates bincode encodings to make the deserialize function hang or panic. It can detect crashes and stalls and all of that. It's not guided, but it achieves a good coverage since it knows how to create valid encodings.

I think it's pretty cool. Might be useful to run every now and then. For example, it could detect the PRs #133 and #134 or this problem I created in my PR acdf8d5.

Let me know what you think. The crate is just a day old and I wrote most of the code in the past hours. If you say "That sounds useful" I'd try to improve the usability by adding a nice command line interface and stuff like that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions