projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #90 from TheBlueMatt/2018-07-percent-bump
[rust-lightning]
/
fuzz
/
fuzz_targets
/
msg_targets
/
msg_target_template.txt
diff --git
a/fuzz/fuzz_targets/msg_targets/msg_target_template.txt
b/fuzz/fuzz_targets/msg_targets/msg_target_template.txt
index 05abd72367e0a7b57e4196698f55ff1a5a3fa5d3..55a9761c9d611127c261b68bba4cd72ec0243a25 100644
(file)
--- a/
fuzz/fuzz_targets/msg_targets/msg_target_template.txt
+++ b/
fuzz/fuzz_targets/msg_targets/msg_target_template.txt
@@
-9,15
+9,11
@@
use lightning::util::reset_rng_state;
use lightning::ln::msgs::{MsgEncodable, MsgDecodable};
mod utils;
use lightning::ln::msgs::{MsgEncodable, MsgDecodable};
mod utils;
-use utils::slice_to_be16;
#[inline]
pub fn do_test(data: &[u8]) {
reset_rng_state();
#[inline]
pub fn do_test(data: &[u8]) {
reset_rng_state();
- let mut read_pos = 0;
- loop {
- test_msg!(msgs::MSG_TARGET, data, read_pos);
- }
+ test_msg!(msgs::MSG_TARGET, data);
}
#[cfg(feature = "afl")]
}
#[cfg(feature = "afl")]