]> git.bitcoin.ninja Git - rust-lightning/blob - fuzz/Cargo.toml
Fix bug in early-HTLC-fulfill handling
[rust-lightning] / fuzz / Cargo.toml
1 [package]
2 name = "lightning-fuzz"
3 version = "0.0.1"
4 authors = ["Automatically generated"]
5 publish = false
6 # Because the function is unused it gets dropped before we link lightning, so
7 # we have to duplicate build.rs here. Note that this is only required for
8 # fuzztarget mode.
9 build = "../build.rs"
10
11 [package.metadata]
12 cargo-fuzz = true
13
14 [features]
15 afl_fuzz = ["afl"]
16 honggfuzz_fuzz = ["honggfuzz"]
17
18 [dependencies]
19 afl = { version = "0.3", optional = true }
20 lightning = { path = "..", features = ["fuzztarget"] }
21 bitcoin = { version = "0.13", features = ["fuzztarget"] }
22 hex = "0.3"
23 honggfuzz = { version = "0.5", optional = true }
24 rust-crypto = "0.2"
25 secp256k1 = { version = "0.9", features=["fuzztarget"] }
26
27 [build-dependencies]
28 cc = "1.0"
29
30 # Prevent this from interfering with workspaces
31 [workspace]
32 members = ["."]
33
34 [[bin]]
35 name = "peer_crypt_target"
36 path = "fuzz_targets/peer_crypt_target.rs"
37
38 [[bin]]
39 name = "channel_target"
40 path = "fuzz_targets/channel_target.rs"
41
42 [[bin]]
43 name = "full_stack_target"
44 path = "fuzz_targets/full_stack_target.rs"
45
46 [[bin]]
47 name = "router_target"
48 path = "fuzz_targets/router_target.rs"
49
50 [[bin]]
51 name = "chanmon_deser_target"
52 path = "fuzz_targets/chanmon_deser_target.rs"
53
54 # message fuzz targets
55 [[bin]]
56 name = "msg_ping_target"
57 path = "fuzz_targets/msg_ping_target.rs"
58
59 [[bin]]
60 name = "msg_pong_target"
61 path = "fuzz_targets/msg_pong_target.rs"
62
63 [[bin]]
64 name = "msg_accept_channel_target"
65 path = "fuzz_targets/msg_targets/msg_accept_channel_target.rs"
66
67 [[bin]]
68 name = "msg_closing_signed_target"
69 path = "fuzz_targets/msg_targets/msg_closing_signed_target.rs"
70
71 [[bin]]
72 name = "msg_commitment_signed_target"
73 path = "fuzz_targets/msg_targets/msg_commitment_signed_target.rs"
74
75 [[bin]]
76 name = "msg_funding_created_target"
77 path = "fuzz_targets/msg_targets/msg_funding_created_target.rs"
78
79 [[bin]]
80 name = "msg_funding_locked_target"
81 path = "fuzz_targets/msg_targets/msg_funding_locked_target.rs"
82
83 [[bin]]
84 name = "msg_funding_signed_target"
85 path = "fuzz_targets/msg_targets/msg_funding_signed_target.rs"
86
87 [[bin]]
88 name = "msg_open_channel_target"
89 path = "fuzz_targets/msg_targets/msg_open_channel_target.rs"
90
91 [[bin]]
92 name = "msg_revoke_and_ack_target"
93 path = "fuzz_targets/msg_targets/msg_revoke_and_ack_target.rs"
94
95 [[bin]]
96 name = "msg_shutdown_target"
97 path = "fuzz_targets/msg_targets/msg_shutdown_target.rs"
98
99 [[bin]]
100 name = "msg_update_add_htlc_target"
101 path = "fuzz_targets/msg_targets/msg_update_add_htlc_target.rs"
102
103 [[bin]]
104 name = "msg_update_fail_malformed_htlc_target"
105 path = "fuzz_targets/msg_targets/msg_update_fail_malformed_htlc_target.rs"
106
107 [[bin]]
108 name = "msg_update_fee_target"
109 path = "fuzz_targets/msg_targets/msg_update_fee_target.rs"
110
111 [[bin]]
112 name = "msg_update_fulfill_htlc_target"
113 path = "fuzz_targets/msg_targets/msg_update_fulfill_htlc_target.rs"
114
115 [[bin]]
116 name = "msg_update_fail_htlc_target"
117 path = "fuzz_targets/msg_targets/msg_update_fail_htlc_target.rs"
118
119 [[bin]]
120 name = "msg_channel_reestablish_target"
121 path = "fuzz_targets/msg_targets/msg_channel_reestablish_target.rs"
122
123 [[bin]]
124 name = "msg_error_message_target"
125 path = "fuzz_targets/msg_targets/msg_error_message_target.rs"