A Generic Static Analysis Framework for Domain-specific Languages

被引:0
|
作者
Mandal, Avijit [1 ]
Mohan, Devina [1 ]
Jetley, Raoul [1 ]
Nair, Sreeja [1 ,3 ]
D'Souza, Meenakshi [2 ]
机构
[1] ABB Corp Res, Bangalore, Karnataka, India
[2] IIIT Bangalore, Bangalore, Karnataka, India
[3] Sorbonne Univ, CNRS, LIP6, F-75005 Paris, France
关键词
Static analysis; Data Flow Analysis (DFA); Abstract Interpretation; Generic programming errors; Safety requirements; Interrupt; Exception; Inter-procedural CFG;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Software used to monitor and control operations within an automation system is defined using domain-specific languages. Latent errors in the control code, if left undetected, can lead to unexpected system failures compromising the safety and the security of the automation system. Traditional analysis techniques are insufficient to detect such errors as they do not cater specifically to the underlying domain-specific language. However, given the diversity of different automation domains, there is no standard platform for analysis of these languages. This paper proposes a generic static analysis framework for domain-specific languages used in the automation domain. The analysis approach exhaustively detects runtime errors in control code and ensures compliance to good programming practices. These runtime errors and coding violations are checked against abstract syntax trees and control flow graphs derived from the code. Data Flow Analysis (DFA), Abstract interpretation and pattern-based matching techniques are used to identify domain specific errors and coding violations for control languages.
引用
收藏
页码:27 / 34
页数:8
相关论文
共 50 条
  • [1] Applying static code analysis for domain-specific languages
    Ruiz-Rube, Ivan
    Person, Tatiana
    Manuel Dodero, Juan
    Miguel Mota, Jose
    Merchan Sanchez-Jara, Javier
    [J]. SOFTWARE AND SYSTEMS MODELING, 2020, 19 (01): : 95 - 110
  • [2] Applying static code analysis for domain-specific languages
    Iván Ruiz-Rube
    Tatiana Person
    Juan Manuel Dodero
    José Miguel Mota
    Javier Merchán Sánchez-Jara
    [J]. Software and Systems Modeling, 2020, 19 : 95 - 110
  • [3] An Ontological Analysis Framework for Domain-Specific Modeling Languages
    Verdonck, Michael
    Gailly, Frederik
    [J]. JOURNAL OF DATABASE MANAGEMENT, 2018, 29 (01) : 23 - 42
  • [4] A Pedagogical Framework for Domain-Specific Languages
    Fowler, Martin
    [J]. IEEE SOFTWARE, 2009, 26 (04) : 13 - 14
  • [5] A framework for qualitative assessment of domain-specific languages
    Gökhan Kahraman
    Semih Bilgen
    [J]. Software & Systems Modeling, 2015, 14 : 1505 - 1526
  • [6] A Constraint Modeling Framework for Domain-Specific Languages
    Pschorn, Patrick
    Antonino, Pablo Oliveira
    Morgenstern, Andreas
    Kuhn, Thomas
    [J]. DSM'19: PROCEEDINGS OF THE 17TH ACM SIGPLAN INTERNATIONAL WORKSHOP ON DOMAIN-SPECIFIC MODELING, 2019, : 20 - 29
  • [7] A generic framework for defining domain-specific models
    Solberg, A
    Oldevik, J
    Jensvoll, A
    [J]. ISSUES AND TRENDS OF INFORMATION TECHNOLOGY MANAGEMENT IN CONTEMPORARY ORGANIZATIONS, VOLS 1 AND 2, 2002, : 742 - 746
  • [8] A framework for families of domain-specific modelling languages
    Braatz, Benjamin
    Brandt, Christoph
    [J]. SOFTWARE AND SYSTEMS MODELING, 2014, 13 (01): : 109 - 132
  • [9] A framework for qualitative assessment of domain-specific languages
    Kahraman, Gokhan
    Bilgen, Semih
    [J]. SOFTWARE AND SYSTEMS MODELING, 2015, 14 (04): : 1505 - 1526
  • [10] A framework for families of domain-specific modelling languages
    Benjamin Braatz
    Christoph Brandt
    [J]. Software & Systems Modeling, 2014, 13 : 109 - 132