-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fuzz testing #2662
Comments
If these count as 'fuzz' testing then we're doing some amount of this already, but could definitely improve. https://github.com/ElementsProject/lightning/blob/master/tests/test_connection.py#L1494 |
What fuzz framework is easy to integrate with a networking application written in C? |
The go-to appears to be afl (american fuzzy loop), I haven't tried it yet. |
american fuzzy lop, not loop. From what I understand, it requires that a program input a file. |
For the individual channel-level daemons, possibly we can add a Possibly we can have messages from
For the more complex daemons such as |
fuzz testing the linux kernel has cropped thousands of bugs, mostly in interfaces where you are encoding and decoding stuff. rust-lightning has been building fuzzers for lightning. It would be interesting to see how badly we can break c-lightning with these kinds of tests.
The text was updated successfully, but these errors were encountered: