A Static Code Analysis Tool for Control System Software

被引:0
|
作者
Nair, Sreeja [1 ]
Jetley, Raoul [1 ]
Nair, Anil [1 ]
Hauck-Stattelmann, Stefan [2 ]
机构
[1] ABB Corp Res, Bangalore, Karnataka, India
[2] ABB Corp Res, Ladenburg, Germany
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Latent errors in control system software can be hard to detect through traditional testing techniques. Such errors, if left undetected, could manifest themselves as failures during run-time that could be potentially catastrophic and very expensive to fix. In this paper, we present a static code analysis approach to detect potential sources of such run-time errors during compile time itself, thus ensuring easy identification, safe execution and reducing the effort required during debugging. In order to detect run-time errors, the control system application is first parsed to generate a set of abstract syntax trees, which in turn are used to derive the control flow graph for the application. A hybrid algorithm, based on abstract interpretation and traditional data flow analysis techniques is used to check the control flow graph for type constraints, reachability and liveness properties. Additionally, the abstract syntax trees are used to check for datatype mismatches and compliance violations. A proof of concept prototype is implemented to demonstrate how the algorithm/approach can be used to analyze control applications developed using domain specific languages such as those complying with the IEC 61131-3 standard.
引用
收藏
页码:459 / 463
页数:5
相关论文
共 50 条
  • [31] Internal deployment of the parfait static code analysis tool at oracle (invited talk)
    Cifuentes, Cristina
    Keynes, Nathan
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2013, 8301 LNCS : 172 - 175
  • [32] ALGORITHMIZATION AND REALIZATION OF THE SOFTWARE TOOL FOR THE SOFTWARE CODE QUALITY ASSESSMENT
    Basheleishvili, Irakli
    Tsiramua, Sergo
    Bardavelidze, Avtandil
    INTERNATIONAL JOURNAL ON INFORMATION TECHNOLOGIES AND SECURITY, 2022, 14 (02): : 27 - 38
  • [33] Integrating physical systems in the static analysis of embedded control software
    Cousot, P
    PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2005, 3780 : 135 - 138
  • [34] Tuning Static Data Race Analysis for Automotive Control Software
    Keul, Steffen
    11TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2011), 2011, : 45 - 54
  • [35] Software trustworthiness static measurement model and the tool
    Li Y.
    Wu Z.
    Chen Y.
    Chen, Yixiang (yxchen@sei.ecnu.edu.cn), 1600, Totem Publishers Ltd (13): : 1101 - 1110
  • [36] Analysis of the Tools for Static Code Analysis
    Nikolic, Danilo
    Stefanovic, Darko
    Dakic, Dusanka
    Sladojevic, Srdan
    Ristic, Sonja
    2021 20TH INTERNATIONAL SYMPOSIUM INFOTEH-JAHORINA (INFOTEH), 2020,
  • [37] Static Analysis of ROP Code
    D'Elia, Daniele Cono
    Coppa, Emilio
    Salvati, Andrea
    Demetrescu, Camil
    PROCEEDINGS OF THE 12TH EUROPEAN WORKSHOP ON SYSTEMS SECURITY (EUROSEC 2019), 2019,
  • [38] STATIC ANALYSIS OF POSTSCRIPT CODE
    HORSPOOL, RN
    VITEK, J
    COMPUTER LANGUAGES, 1993, 19 (02): : 65 - 78
  • [39] Static analysis for Guarded code
    Hu, P
    LANGUAGES, COMPILERS, AND RUN-TIME SYSTEMS FOR SCALABLE COMPUTERS, 2000, 1915 : 44 - 56
  • [40] Static disassembly and code analysis
    Vigna, Giovanni
    MALWARE DETECTION, 2007, : 19 - 41