An approach to analyzing recursive programs with exception handling constructs

被引:5
|
作者
Jiang, Shujuan [1 ]
Xu, Baowen
Shi, Liang
机构
[1] SE Univ, Dept Comp Sci & Engn, Nanjing 210096, Peoples R China
[2] Jiangsu Inst Software Qual, Nanjing 210096, Peoples R China
[3] China Univ Min & Technol, Sch Comp Sci & Technol, Xuzhou 221008, Peoples R China
[4] Natl Univ Def Technol, Comp Sch, Changsha 410073, Peoples R China
关键词
exception handling; programming language; reliability; exception propagation; recursive function; static analysis;
D O I
10.1145/1147214.1147220
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Exception handling in modem programming languages is a mechanism that can improve software reliability. Since the signature of an C++ function may not specify the set of exceptions that the function can propagate, it is necessary to figure out the exceptions that may be raised during executing program, the origins of them and their propagation paths. Unfortunately, in large programs that contain recursive functions, this exceptional information can be difficult, if not impossible, to determine. Therefore, the paper proposes a new static analysis approach to analyze C++ recursive functions with exception handling constructs. Firstly, it presents a model that can describe the exception handling information for a C++ single function. Then, it proposes a new method to compute the set of exception types that propagate from a recursive function. Finally, the limitations and the applications of the model are discussed.
引用
收藏
页码:30 / 35
页数:6
相关论文
共 50 条
  • [31] Demonstrating Exception Handling in JaCaMo
    Baldoni, Matteo
    Baroglio, Cristina
    Boissier, Olivier
    Micalizio, Roberto
    Tedeschi, Stefano
    ADVANCES IN PRACTICAL APPLICATIONS OF AGENTS, MULTI-AGENT SYSTEMS, AND SOCIAL GOOD: THE PAAMS COLLECTION, PAAMS 2021, 2021, 12946 : 341 - 345
  • [32] An agent based approach for exception handling in e-procurement management
    Sun, Sherry X.
    Zhao, Jing
    Wang, Huaiqing
    EXPERT SYSTEMS WITH APPLICATIONS, 2012, 39 (01) : 1174 - 1182
  • [33] Advanced exception handling mechanisms
    Buhr, PA
    Mok, WYR
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2000, 26 (09) : 820 - 836
  • [34] Exception Handling in Workflow Systems
    Zongwei Luo
    Amit Sheth
    Krys Kochut
    John Miller
    Applied Intelligence, 2000, 13 : 125 - 147
  • [35] Students' Strategies for Exception Handling
    Rashkovits, Rami
    Lavy, Ilana
    JOURNAL OF INFORMATION TECHNOLOGY EDUCATION-RESEARCH, 2011, 10 : 183 - 207
  • [36] EXCEPTION HANDLING - EXPECTING THE UNEXPECTED
    DREW, SJ
    GOUGH, KJ
    COMPUTER LANGUAGES, 1994, 20 (02): : 69 - 87
  • [37] Exception Handling and Classical Logic
    van Bakel, Steffen
    PROCEEDINGS OF THE 21ST INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING (PPDP 2019), 2019,
  • [38] Exception handling in the software lifecycle
    de Lemos, R
    Romanovsky, A
    COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 2001, 16 (02): : 119 - 133
  • [39] Requirements for software exception handling
    Hecht, Herbert
    2008 IEEE AEROSPACE CONFERENCE, VOLS 1-9, 2008, : 3340 - 3346
  • [40] A predictive model for exception handling
    Lourenco, Joao Ricardo
    Cabral, Bruno
    Bernardino, Jorge
    NEW ADVANCES IN INFORMATION SYSTEMS AND TECHNOLOGIES, VOL 1, 2016, 444 : 767 - 776