bitcoinfuzz
bitcoinfuzz copied to clipboard
Differential Fuzzing of Bitcoin implementations and libraries
This is a rough draft right now because there are certain areas which need to be improved before merging: * Initialization : Preferably, we should report to the user in...
I got a crash in BlockTransactionRequest deserialization target as [rust-bitcoin](https://github.com/rust-bitcoin/rust-bitcoin/blob/5ca4d0e3769e76cf23963c74a622ac0f86c9bee2/bitcoin/src/bip152.rs#L248-L255) does not conform to BIP-152 and treats indexes as **uint64_t** values when according to [BIP](https://github.com/bitcoin/bips/blob/master/bip-0152.mediawiki#blocktransactionsrequest) and [Core](https://github.com/bitcoin/bitcoin/blob/master/src/blockencodings.h#L44-L54), they should be...
I just got a crash in addrv2 (https://github.com/brunoerg/bitcoinfuzz/pull/48) target because when deserializing addrv2 addresses rust-bitcoin checks whether TorV2 address is valid and throws an error if it is invalid. However,...
We just got a crash on psbt target. `rust-miniscript` successfully deserializes a PSBT while Bitcoin Core fails due to `ReadCompactSize(): size too large`. This failure happens during key type checking....
`or_d(dv:0,0)` is sane for Bitcoin Core (`IsSane()` returns true) but fails for rust-miniscript due to "fragment «or_d(dv:0,0)» requires its left child be a unit (outputs exactly 1 given a satisfying...
`Bitcoinfuzz` is a project which applies differential fuzzing between Bitcoin projects. We started this project with miniscript support but we're expanding it. The proposal is to work on a fuzz...
A target to perform differential fuzzing between BDK and Bitcoin Core, especially for BnB, would be nice!
Reverts brunoerg/bitcoinfuzz#61