nnsmith
nnsmith copied to clipboard
Help Wanted - How does one generate minimum code examples from NNSmith bug reports
Hi, apologies for this issue, I am working with NNSmith (and Neuri) and have several generated bug reports from fuzzing. However, when looking at bug reports developed as a result of NNSmith like this one here there's a minimal code sample that can be used to trigger and reproduce the bug encountered. However, I can't seem to figure out how to generate such examples utilizing NNSmith. Is there an additional utility, or a technique to do so? I can see the model.pth and pkl files, but would like a nudge or some guidance in how to utilize them to create a reproducible code sample if that makes sense?
Sorry again for the call for help.
@talha-ahsan Hi, I think that nnsmith.report_syn
can generate the crash code
Thanks for the issue. @syheliel is right we have nnsmith.report_syn
to synthesize a bug report for PyTorch compilers. It's not perfect but should be useful in many cases (at least at the time we develop it). :D
Apologies for the incredibly long delay, I must've missed the notification. I'll start working with report_syn
, thank you!