| 13 | #include <cassert> |
| 14 | |
| 15 | FUZZ_TARGET(tx_in) |
| 16 | { |
| 17 | CDataStream ds(buffer, SER_NETWORK, INIT_PROTO_VERSION); |
| 18 | CTxIn tx_in; |
| 19 | try { |
| 20 | int version; |
| 21 | ds >> version; |
| 22 | ds.SetVersion(version); |
| 23 | ds >> tx_in; |
| 24 | } catch (const std::ios_base::failure&) { |
| 25 | return; |
| 26 | } |
| 27 | |
| 28 | (void)RecursiveDynamicUsage(tx_in); |
| 29 | |
| 30 | (void)tx_in.ToString(); |
| 31 | } |
nothing calls this directly
no test coverage detected