Page MenuHomePhabricator

[backport#17136] tests: Add fuzzing harness for various PSBT related functions
ClosedPublic

Authored by majcosta on Jul 15 2020, 19:56.

Details

Summary

49f4c7f0699e5e19ac6e41ef5b607392dd7a2983 tests: Add fuzzing harness for various PSBT related functions (practicalswift)

Pull request description:

Add fuzzing harness for various PSBT related functions.

**Testing this PR**

Run:

```
$ CC=clang CXX=clang++ ./configure --enable-fuzz \
      --with-sanitizers=address,fuzzer,undefined
$ make
$ src/test/fuzz/psbt
```

Backport of Core PR17136

Test Plan
cmake -GNinja .. -DENABLE_SANITIZERS="address;fuzzer" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
ninja bitcoin-fuzzers
./srt/test/fuzz/psbt

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable