基于智能电网内部数据流分析的内存泄露检测方法研究  被引量:6

Research on Memory Leak Detection Method Based on Internal Data Flow of Smart Grid

在线阅读下载全文

作  者:陈畅 刘福来 Chen Chang;Liu Fulai(Guangzhou Power Supply Bureau of Guangdong Power Grid Co.,Ltd.,Guangzhou 510620)

机构地区:[1]广东电网有限责任公司广州供电局,广州510620

出  处:《信息安全研究》2022年第1期85-92,共8页Journal of Information Security Research

基  金:南方电网重点科技项目(GZHKJXM20200002)。

摘  要:智能电网中的安全系统除了要实现普通应用系统的功能外,还要保证它所管理资源的安全性,包括保密性、完整性和可用性等.相较于其他编程语言,C++更接近操作系统底层,可以实现一些对性能有较高要求的底层算法,同时正是由于C++能够直接控制系统资源的分配和使用,这就为内存泄露埋下了隐患.提出一种基于电网操作系统中数据流分析进行内存泄露检测的方法,主要研究目标是提取目标代码或源程序的数据流,并利用数据流对其分析,实现内存泄露的检测.经过实验表明,提出的方法能够对由C++指针使用不当造成的内存泄露进行有效的检测,在自动化测试、程序静态检测等方面具有实际意义.In addition to realizing the functions of the common application system,the security system in smart grid also needs to ensure the security of the resources that it manages,including confidentiality,integrity and availability.Compared with other programming languages,C++is closer to the bottom layer of the operating system,and some underlying algorithms with high performance requirements need to be implemented with C++.At the same time,because C++can directly control the allocation and use of system resources,it has laid hidden trouble for memory leakage.In this paper,a memory leak detection method based on data flow analysis in power grid operating system is proposed.The main research objective is to extract the data flow of the object code or source program,and use the data flow to analyze it,and realize the memory leak detection.The experimental results show that the proposed method can effectively detect the memory leak caused by the improper use of C++pointer,and has practical significance in the aspects of automatic test and static program detection.

关 键 词:智能电网 C++ 内存泄露 数据流 静态检测 自动化测试 

分 类 号:TP309.1[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象