PLC程序控制流分析方法
發(fā)布時(shí)間:2018-04-02 06:42
本文選題:可編程邏輯控制器 切入點(diǎn):控制流 出處:《計(jì)算機(jī)應(yīng)用》2017年12期
【摘要】:可編程邏輯控制器(PLC)是工業(yè)控制系統(tǒng)的重要組成部分,控制著各類物理設(shè)備及工藝流程。無論是攻擊者的惡意篡改還是內(nèi)部人員的編程錯(cuò)誤所造成的PLC控制程序錯(cuò)誤都將嚴(yán)重威脅設(shè)備及人身安全。為解決該問題,提出了針對(duì)PLC程序的控制流分析方法。首先,利用flex和bison分析了源代碼的詞法及語法結(jié)構(gòu);其次,通過分析抽象語法樹(AST)生成并優(yōu)化了不含指令副作用的中間表示;最后,在中間表示的基礎(chǔ)上劃分基本塊,并以此為基本單元構(gòu)建了程序的控制流圖。實(shí)驗(yàn)結(jié)果表明,所提方法能夠恢復(fù)語句表形式PLC程序的控制流結(jié)構(gòu),為程序理解和安全性分析提供了基礎(chǔ)。
[Abstract]:The programmable logic controller (PLC) is an important part of the industrial control system, control equipment and all kinds of physical process. Whether the attacker's malicious tampering or insider programming errors caused by errors of PLC control program will be a serious threat to the safety of equipment and personal. In order to solve the problem, put forward the control for PLC program flow analysis method. Firstly, analyze the lexical and grammatical structure of the source code using flex and bison; secondly, through the analysis of the abstract syntax tree (AST) was generated and optimized instruction without adverse effect; most, based on intermediate representation on the partition, and as a basic unit of construction the control flow graph of the program. The experimental results show that the proposed method can restore the control statement form PLC program flow structure, provides the basis for program understanding and security analysis.
【作者單位】: 合肥電子工程學(xué)院;
【分類號(hào)】:TP273
【相似文獻(xiàn)】
相關(guān)期刊論文 前2條
1 潘權(quán);PLC程序控制在變壓吸附制氧系統(tǒng)中的應(yīng)用[J];電工技術(shù)雜志;1999年05期
2 馬東平;污水中和的PLC程序控制[J];自動(dòng)化博覽;2001年06期
相關(guān)碩士學(xué)位論文 前1條
1 王東;基于信息流和控制流的飛行員工作負(fù)荷研究[D];上海交通大學(xué);2013年
,本文編號(hào):1699204
本文鏈接:http://sikaile.net/kejilunwen/zidonghuakongzhilunwen/1699204.html
最近更新
教材專著