Skip to content

DocTer: Documentation-guided fuzzing for testing deep learning API functionsDocTer: Documentation Guided Fuzzing for Testing Deep Learning API Functions

arXiv· arXiv:2109.01002· ISSTA· Danning Xie, Yitong Li, Mijung Kim, Hung Viet Pham, Lin Tan, Xiangyu Zhang, Michael W. Godfrey·Indexed by this site · 27 days ago· Originally publishedTools
AI summary

The researchers propose DocTer, which automatically extracts input constraints from the API documentation of deep learning libraries and uses them to generate valid and invalid inputs to fuzz API functions. Evaluation on three libraries—TensorFlow, PyTorch, and MXNet—shows that DocTer extracted input constraints with a precision of 85.4% and detected 94 bugs from 174 API functions, including a previously unknown security vulnerability now recorded in the CVE database, whereas the baseline technique without input constraints detected only 59. Of the 94 bugs, 63 were previously unknown, and 54 of those have been fixed or confirmed by developers after the authors reported them; DocTer also detected 43 documentation inconsistencies, 39 of which have been fixed or confirmed.

Read originalISSTA