Effective interactive resolution of static analysis alarms

Author:

Zhang Xin1,Grigore Radu2,Si Xujie3,Naik Mayur3

Affiliation:

1. Georgia Institute of Technology, USA

2. University of Kent, UK

3. University of Pennsylvania, USA

Abstract

We propose an interactive approach to resolve static analysis alarms. Our approach synergistically combines a sound but imprecise analysis with precise but unsound heuristics, through user interaction. In each iteration, it solves an optimization problem to find a set of questions for the user such that the expected payoff is maximized. We have implemented our approach in a tool, Ursa, that enables interactive alarm resolution for any analysis specified in the declarative logic programming language Datalog. We demonstrate the effectiveness of Ursa on a state-of-the-art static datarace analysis using a suite of 8 Java programs comprising 41-194 KLOC each. Ursa is able to eliminate 74% of the false alarms per benchmark with an average payoff of 12× per question. Moreover, Ursa prioritizes user effort effectively by posing questions that yield high payoffs earlier.

Funder

Defense Advanced Research Projects Agency

National Science Foundation

Publisher

Association for Computing Machinery (ACM)

Subject

Safety, Risk, Reliability and Quality,Software

Reference43 articles.

1. 2015. UpWork. http://www.upwork.com . (2015). Accessed: 2015-11-19. 2015. UpWork. http://www.upwork.com . (2015). Accessed: 2015-11-19.

2. Nathaniel Ayewah David Hovemeyer J. David Morgenthaler John Penix and William Pugh. 2008. Using static analysis to find bugs. IEEE Software (2008). Nathaniel Ayewah David Hovemeyer J. David Morgenthaler John Penix and William Pugh. 2008. Using static analysis to find bugs. IEEE Software (2008).

3. Thomas Ball Mayur Naik and Sriram K. Rajamani. 2003. From symptom to cause: localizing errors in counterexample traces. In POPL. 10.1145/604131.604140 Thomas Ball Mayur Naik and Sriram K. Rajamani. 2003. From symptom to cause: localizing errors in counterexample traces. In POPL. 10.1145/604131.604140

4. Osbert Bastani Saswat Anand and Alex Aiken. 2015. Specification inference using context-free language reachability. In POPL . 10.1145/2676726.2676977 Osbert Bastani Saswat Anand and Alex Aiken. 2015. Specification inference using context-free language reachability. In POPL . 10.1145/2676726.2676977

5. Al Bessey Ken Block Benjamin Chelf Andy Chou Bryan Fulton Seth Hallem Charles-Henri Gros Asya Kamsky Scott McPeak and Dawson R. Engler. 2010. A few billion lines of code later: using static analysis to find bugs in the real world. Commun. ACM (2010). Al Bessey Ken Block Benjamin Chelf Andy Chou Bryan Fulton Seth Hallem Charles-Henri Gros Asya Kamsky Scott McPeak and Dawson R. Engler. 2010. A few billion lines of code later: using static analysis to find bugs in the real world. Commun. ACM (2010).

Cited by 20 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Automatically Inspecting Thousands of Static Bug Warnings with Large Language Model: How Far Are We?;ACM Transactions on Knowledge Discovery from Data;2024-06-19

2. Learning Abstraction Selection for Bayesian Program Analysis;Proceedings of the ACM on Programming Languages;2024-04-29

3. VALAR: Streamlining Alarm Ranking in Static Analysis with Value-Flow Assisted Active Learning;2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE);2023-09-11

4. Can the configuration of static analyses make resolving security vulnerabilities more effective? - A user study;Empirical Software Engineering;2023-09

5. Context-Sensitive Meta-Constraint Systems for Explainable Program Analysis;Tools and Algorithms for the Construction and Analysis of Systems;2023

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3