Skip to content
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

More Fully Test On-Chain Failure #385

Open
TheBlueMatt opened this issue Oct 26, 2019 · 3 comments
Open

More Fully Test On-Chain Failure #385

TheBlueMatt opened this issue Oct 26, 2019 · 3 comments
Milestone

Comments

@TheBlueMatt
Copy link
Collaborator

We have a bit of ad-hoc testing of on-chain failure paths right now. Coverage isn't too bad (though really should be 100% for channelmonitor's important functions), but that probably isn't enough. We should finish up the fuzz full_stack_target's money loss detection code, and maybe come up with a better fuzz target for that kind of broad-scale target (maybe getting Angora working would help, see AngoraFuzzer/Angora#10). Also mutation testing to make sure our coverage is "real", but that's tracked in #188.

@TheBlueMatt TheBlueMatt added this to the 0.2 milestone Oct 26, 2019
@TheBlueMatt
Copy link
Collaborator Author

Another thing we should work with is Driller. This makes it look pretty easy to get it going in a VM: https://blog.grimm-co.com/post/guided-fuzzing-with-driller/ . If someone feels inclined to work on this I can dig up a bunch of CPU resources for use fuzzing.

@TheBlueMatt
Copy link
Collaborator Author

Played with driller a bit today, managed pretty easily (just adding new main()s in the fuzz_targets that actually read from stdin instead of use macros from other crates to do so) to get it to load but it crashes when it starts trying to do real work. See shellphish/driller#81.

@TheBlueMatt
Copy link
Collaborator Author

#416 got me a bit further, but now stuck on shellphish/driller#80.

@ConorOkus ConorOkus moved this to In Progress in LDK Roadmap Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant