Python libraries provide the foundation for deep learning, scientific computing, data analysis, and computer vision, and their reliability is critical for downstream applications. This paper introduces VISTAFUZZ, a document-guided fuzzing technique for Python library APIs. VISTAFUZZ uses a locally served open-sourced large language model (LLM) to parse heterogeneous API documentation into standardized parameter specifications, validates them against runtime signatures, and normalizes recurring inter-parameter dependencies into executable relationships for valid test-input generation. We evaluate VISTAFUZZ on 7,718 APIs across twelve Python libraries. VISTAFUZZ reports 74 issues, of which 47 have been confirmed by developers as real bugs and 38 have already been fixed. On PyTorch and TensorFlow, we compare VISTAFUZZ with API-level fuzzers, an LLM-based fuzzer, and the same LLM prompted to generate test inputs directly, and report API applicability, effectiveness on the commonly supported APIs under the same per-API budget, and bug detection under the same oracles separately.


翻译:暂无翻译

0
下载
关闭预览

相关内容

Python是一种面向对象的解释型计算机程序设计语言,在设计中注重代码的可读性,同时也是一种功能强大的通用型语言。
【干货书】面向计算科学和工程的Python导论,167页pdf
专知会员服务
42+阅读 · 2021年4月7日
Python编程基础,121页ppt
专知会员服务
50+阅读 · 2021年1月1日
流畅的Python 中英文版 PDF 高清电子书
专知会员服务
84+阅读 · 2020年8月2日
Keras François Chollet 《Deep Learning with Python 》, 386页pdf
专知会员服务
164+阅读 · 2019年10月12日
【新书】Python编程基础,669页pdf
专知会员服务
199+阅读 · 2019年10月10日
资源 | Python 中文书籍大集合
AI研习社
13+阅读 · 2018年12月20日
459页《Python深度学习》下载
机器学习算法与Python学习
24+阅读 · 2018年10月29日
资源 | Python程序员深度学习“四大名著”之一
AI研习社
94+阅读 · 2018年8月25日
这可能是学习Python最好的免费在线电子书
程序猿
56+阅读 · 2018年5月17日
这几本Python新书特别赞
图灵教育
21+阅读 · 2018年3月1日
Python 书单:从入门到……
Linux中国
41+阅读 · 2017年8月6日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
12+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
5+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
Arxiv
12+阅读 · 2021年7月26日
Recent advances in deep learning theory
Arxiv
52+阅读 · 2020年12月20日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
8+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
6+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
3+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
15+阅读 · 11月25日
相关VIP内容
【干货书】面向计算科学和工程的Python导论,167页pdf
专知会员服务
42+阅读 · 2021年4月7日
Python编程基础,121页ppt
专知会员服务
50+阅读 · 2021年1月1日
流畅的Python 中英文版 PDF 高清电子书
专知会员服务
84+阅读 · 2020年8月2日
Keras François Chollet 《Deep Learning with Python 》, 386页pdf
专知会员服务
164+阅读 · 2019年10月12日
【新书】Python编程基础,669页pdf
专知会员服务
199+阅读 · 2019年10月10日
相关资讯
资源 | Python 中文书籍大集合
AI研习社
13+阅读 · 2018年12月20日
459页《Python深度学习》下载
机器学习算法与Python学习
24+阅读 · 2018年10月29日
资源 | Python程序员深度学习“四大名著”之一
AI研习社
94+阅读 · 2018年8月25日
这可能是学习Python最好的免费在线电子书
程序猿
56+阅读 · 2018年5月17日
这几本Python新书特别赞
图灵教育
21+阅读 · 2018年3月1日
Python 书单:从入门到……
Linux中国
41+阅读 · 2017年8月6日
相关基金
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
12+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
5+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员