arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2201.10599cs.SE
收藏

未开发的地形的埃克塞特

The Unexplored Terrain of Compiler Warnings

Gunnar Kudrjavets, Aditya Kumar, Nachiappan Nagappan, Ayushi Rastogi

摘要:

作者的行业经验表明,编译器警告,一个轻量级版本的程序分析,是有价值的早期错误检测工具。如果解决了编译器警告,本可以避免的问题的补丁和安全公告会产生大量成本。然而,业界对编译器警告的态度是混合的。实践范围从使所有编译器警告静音到对任何警告采取零容忍策略。目前公布的数据表明,尽早解决编译器警告是有益的。然而,支持这一价值理论的是灰色文献或轶事。需要进行更多的重点研究,以真正评估处理警报的成本效益。

英文摘要:

The authors' industry experiences suggest that compiler warnings, a lightweight version of program analysis, are valuable early bug detection tools. Significant costs are associated with patches and security bulletins for issues that could have been avoided if compiler warnings were addressed. Yet, the industry's attitude towards compiler warnings is mixed. Practices range from silencing all compiler warnings to having a zero-tolerance policy as to any warnings. Current published data indicates that addressing compiler warnings early is beneficial. However, support for this value theory stems from grey literature or is anecdotal. Additional focused research is needed to truly assess the cost-benefit of addressing warnings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑