vinteumorg / Floresta

A fully-validating Bitcoin node powered by Utreexo, with an integrated Electrum Server
MIT License
177 stars 37 forks source link

fuzz: add target for `LocalAddress` from string #227

Closed brunoerg closed 2 months ago

brunoerg commented 2 months ago

This is a very simple fuzz target but might be the start of a journey :)

Since there is no fuzzing in this project, I added cargo-fuzz into it.

To run:

cargo +nightly fuzz run local_address_str
jaoleal commented 2 months ago

fuzzing is a dream in this project, but we have some dev debts that can to be done before and will bring more quality of life to the developers. like:

Davidson-Souza commented 2 months ago

Does adding this to the top-level Cargo.toml solve the problem for windows? It looks like the fuzzer doesn't work on windows.

default-members = [ 
    "florestad",
    "crates/floresta",
    "crates/floresta-chain",
    "crates/floresta-cli",
    "crates/floresta-common",
    "crates/floresta-compact-filters",
    "crates/floresta-electrum",
    "crates/floresta-watch-only",
    "crates/floresta-wire",
]