论文标题
MLD:基于智能网格中缺陷模式的智能内存泄漏检测方案
MLD: An Intelligent Memory Leak Detection Scheme Based on Defect Modes in Smart Grids
论文作者
论文摘要
随着软件量表和智能网格系统的复杂性的扩展,智能网格软件缺陷的检测已成为研究热点。由于现有智能电网软件代码的大规模规模,因此现有的智能电网缺陷检测算法的效率和准确性不高。我们根据智能网格中的缺陷模式提出了一个智能内存泄漏检测方案。基于对现有内存泄漏缺陷模式的分析,我们总结了内存操作行为(分配,释放和传输),并呈现状态机器模型。我们基于正则表达式采用模糊匹配算法来确定内存操作行为,然后分析状态机中的更改以评估源代码中的漏洞。为了提高检测的效率并解决功能呼叫点上重复检测的问题,我们提出了一种用于内存操作行为的函数摘要方法。实验结果表明,我们提出的方法具有很高的检测速度和准确性。我们提出的算法可以识别智能电网操作软件的缺陷,并确保网格的安全操作。
With the expansion of the software scale and complexity of smart grid systems, the detection of smart grid software defects has become a research hotspot. Because of the large scale of the existing smart grid software code, the efficiency and accuracy of the existing smart grid defect detection algorithms are not high. We propose an intelligent memory leak detection scheme based on defect modes MLD in smart grid. Based on the analysis of existing memory leak defect modes, we summarize memory operation behaviors (allocation, release and transfer) and present a state machine model. We employ a fuzzy matching algorithm based on regular expression to determine the memory operation behaviors and then analyze the change in the state machine to assess the vulnerability in the source code. To improve the efficiency of detection and solve the problem of repeated detection at the function call point, we propose a function summary method for memory operation behaviors. The experimental results demonstrate that the method we proposed has high detection speed and accuracy. The algorithm we proposed can identify the defects of the smart grid operation software and ensure the safe operation of the grid.