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 条
  • [31] Meta3: a code generator framework for domain-specific languages
    Gábor Kövesdán
    László Lengyel
    [J]. Software & Systems Modeling, 2019, 18 : 2421 - 2439
  • [32] Meta3: a code generator framework for domain-specific languages
    Kovesdan, Gabor
    Lengyel, Laszlo
    [J]. SOFTWARE AND SYSTEMS MODELING, 2019, 18 (04): : 2421 - 2439
  • [33] FLANDM: a development framework of domain-specific languages for data mining democratisation
    de la Vega, Alfonso
    Garcia-Saiz, Diego
    Zorrilla, Marta
    Sanchez, Pablo
    [J]. COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2018, 54 : 316 - 336
  • [34] Usa-DSL: Usability Evaluation Framework for Domain-Specific Languages
    Poltronieri, Ildevana
    Zorzo, Avelino Francisco
    Bernardino, Maicon
    Campos, Marcia de Borba
    [J]. 33RD ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, 2018, : 2013 - 2021
  • [35] Untangling Crosscutting Concerns in Domain-specific Languages with Domain-specific Join Points
    Dinkelaker, Tom
    Monperrus, Martin
    Mezini, Mira
    [J]. DSAL09: DOMAIN-SPECIFIC ASPECT LANGUAGES, 2009, : 1 - 5
  • [36] Compositional Embeddings of Domain-Specific Languages
    Sun, Yaozhu
    Dhandhania, Utkarsh
    Oliveira, Bruno C. D. S.
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2022, 6 (OOPSLA):
  • [37] Domain-Specific Languages in Scientific Computing
    Hinsen, Konrad
    [J]. COMPUTING IN SCIENCE & ENGINEERING, 2018, 20 (01) : 88 - 92
  • [38] A Taxonomy of Domain-Specific Aspect Languages
    Fabry, Johan
    Dinkelaker, Tom
    Noye, Jacques
    Tanter, Eric
    [J]. ACM COMPUTING SURVEYS, 2015, 47 (03)
  • [39] Domain-specific languages: An annotated bibliography
    van Deursen, A
    Klint, P
    Visser, J
    [J]. ACM SIGPLAN NOTICES, 2000, 35 (06) : 26 - 36
  • [40] Program Comprehension for Domain-Specific Languages
    Varanda Pereira, Maria Joao
    Mernik, Marjan
    da Cruz, Daniela
    Henriques, Pedro Rangel
    [J]. COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2008, 5 (02) : 1 - 17