Formal Guarantees for Localized Bug Fixes

被引:3
|
作者
Mitra, Srobona [1 ]
Banerjee, Ansuman [2 ]
Dasgupta, Pallab [1 ]
Ghosh, Priyankar [1 ]
Kumar, Harish [3 ]
机构
[1] IIT Kharagpur, Dept Comp Sci & Engn, Kharagpur 721302, W Bengal, India
[2] Indian Stat Inst, Adv Comp & Microelect Unit, Kolkata 700108, India
[3] Intel Technol India Pvt Ltd, Bangalore 560017, Karnataka, India
关键词
Debugging; dynamic slicing; hardware verification; satisfiability; BOUNDED MODEL CHECKING;
D O I
10.1109/TCAD.2013.2252055
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Bug traces produced in simulation serve as the basis for patching the RTL code in order to fix a bug. It is important to prove that the patch covers all instances of the bug scenario; otherwise, the bug may return with a different valuation of the variables involved in the bug scenario. For large circuits, formal methods do not scale well enough to comprehensively eliminate the bug, and achieving adequate coverage in simulation and regression testing becomes expensive. This paper proposes formal methods for analyzing the control trace leading to the observed manifestation of the bug and verifying the robustness of the bug fix with respect to that control trace. We propose a classification of the bug fix based on the guarantee that our analysis can provide about the quality of the bug fix. Our method also prescribes the types of tests that are recommended to validate the bug fix on other types of scenarios. Since our methods are more scalable by orders of magnitude than model checking the entire design, we believe that the proposed formal methods hold immense promise in analyzing bug fixes in practice.
引用
下载
收藏
页码:1274 / 1287
页数:14
相关论文
共 50 条
  • [1] The Design of Bug Fixes
    Murphy-Hill, Emerson
    Zimmermann, Thomas
    Bird, Christian
    Nagappan, Nachiappan
    PROCEEDINGS OF THE 35TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2013), 2013, : 332 - 341
  • [2] An Empirical Study on Real Bug Fixes
    Zhong, Hao
    Su, Zhendong
    2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 1, 2015, : 913 - 923
  • [3] A Characterization Study of Repeated Bug Fixes
    Yue, Ruru
    Meng, Na
    Wang, Qianxiang
    2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2017, : 422 - 432
  • [4] Modifications, Tweaks, and Bug Fixes in Architectural Tactics
    Mirakhorli, Mehdi
    Cleland-Huang, Jane
    12TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2015), 2015, : 377 - 380
  • [5] Using a Probabilistic Model to Predict Bug Fixes
    Soto, Mauricio
    Le Goues, Claire
    2018 25TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2018), 2018, : 221 - 231
  • [6] Understanding Bug Fixes in Ant: An Observational Study
    Saha, Shilpi
    Majumder, Subhashis
    Jain, Samip
    Datta, Subhajit
    2014 INTERNATIONAL CONFERENCE ON CONTEMPORARY COMPUTING AND INFORMATICS (IC3I), 2014, : 243 - 248
  • [7] A Comprehensive Study of Bug Fixes in Quantum Programs
    Luo, Junjie
    Zhao, Pengzhan
    Miao, Zhongtao
    Lan, Shuhan
    Zhao, Jianjun
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, : 1239 - 1246
  • [8] InfectoMeter: A Tool that Helps to Place Bug Fixes
    Azadmanesh, Mohammad R.
    Hauswirth, Matthias
    2016 IEEE 24TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2016,
  • [9] Generating bug-fixes using pretrained transformers
    Drain, Dawn
    Wu, Chen
    Svyatkovskiy, Alexey
    Sundaresan, Neel
    MAPS 2021 - Proceedings of the 5th ACM SIGPLAN International Symposium on Machine Programming, co-located with PLDI 2021, 2021, : 1 - 8
  • [10] Enhancement of Recommendation Engine Technique for Bug System Fixes
    Al-Bayati, Jalal Sadoon Hameed
    Al-Shamma, Mohammed
    Tawfeeq, Furat Nidhal
    JOURNAL OF ADVANCES IN INFORMATION TECHNOLOGY, 2024, 15 (04) : 555 - 564