共查询到19条相似文献,搜索用时 62 毫秒
1.
一种混合式内存泄漏静态检测方法 总被引:1,自引:0,他引:1
内存泄漏是导致系统性能降低的重要问题.提出一种基于模型检测算法的内存泄漏静态检查方法TMC.该方法依据程序的控制流图构建对应于程序执行的有限状态自动机,进而在此基础上应用模型检测算法分析程序中可能存在的内存泄漏.论文利用几个典型的程序实例详细说明了TMC的工作原理,并通过基于内存操作密集的测试程序集PtrDist的实验对TMC进行了验证.实验结果表明,TMC能够显著提升内存泄漏分析的精度. 相似文献
2.
非法计算是导致系统崩溃的一个常见故障.文中总结了Java语言中可能产生非法计算的运算符和数学库函数;建立了一个通用模型,用以检测一般函数(包括系统函数和自定义函数)在使用时是否合法;基于该通用模型提出了非法计算检测算法,并在此算法中引入区间运算.实验结果表明,文中模型及算法可以在检测出更多的非法计算故障的同时降低误报率. 相似文献
3.
Windows Mobile5.0是微软为智能移动终端推出的软件平台.特别在智能手机领域受到越来越广泛的应用;在基于Windows Mobile的产品设计中,内存泄露又是需要考虑的关键之一。文中解析了Windows Mobile平台上监测设备内存泄露的工具AppVerifier.并在模拟器上实现了监测应用程序内存泄露.进而发现使用AppVcrificr存在的问题.并指出了使用中高效利用AppVerifier的方法。 相似文献
4.
5.
文中用VMI(虚拟机自省)技术实现了由外部对VM(虚拟机)内部内存大小的透明实时的监控。VMI技术在纯净的环境下记录虚拟机的内存量,用增量叠加的方法记录加入此域的内存泄露的程序对内存的影响。内存泄漏的堆积会最终消耗尽系统所有内存,因此内存泄漏是造成计算机安全事故的主要原因之一。本文实验通过开放源代码虚拟机监视器Xen,使用了xen内核的半虚拟化模式,由外部检测虚拟机进程的内存消耗量来判断应用程序是否有内存泄露。由于这种方式可以为用户提供独立、隔离的计算环境,不需要修改源程序或者对程序进行重新编译,不必有其它特殊硬件需求,系统性能损失较小并且有一定的通用性,因而在判断内存泄露是其它解决方案无法取代的。实验结果表明:对内存的监控数据证明了实验系统的有效性和可行性。 相似文献
6.
7.
编程中的资源泄露是关系到软件性能的关键问题,如果处理不当,会大大降低软件的性能。文章阐述了Java语言编程中常见的资源泄露原因,并详细分析了容易产生资源泄露的几种情况。 相似文献
8.
9.
一直以来内存泄露都是程序员们非常关心的一个大问题,通过借助一些工具,程序员可以查找到程序中存在的内存泄露的问题。内存溢出的出现会给程序员带来很多的烦恼。本文针对.NET环境中的内存泄露问题进行分析并指出应如何正确使用c#的垃圾回收机制。 相似文献
10.
11.
通过静态检测发现源程序中的潜在缺陷,可以帮助程序员在软件发布之前发现并修补程序缺陷,提高软件的安全性。提出一种通过静态分析CIL代码来检测C#程序代码缺陷的方法。采用改进的深度优先搜索算法遍历目标程序的控制流程图,结合历史状态缓存机制,能够大幅度提高检测效率;另外,为便于实施别名分析,还提出一种基于内存区域的变量表示方法。基于所述分析方法,开发了一个C#源代码缺陷静态检测系统,并对实际开源项目进行了检测。实验结果表明,本系统能够高效、准确地检测C#程序中常见类型的缺陷。 相似文献
12.
操作系统和应用软件中的潜在远程缓冲区溢出漏洞是信息系统面临的最严重安全威胁之一.检测软件中游在的远程缓冲区溢出漏洞对于提高信息系统安全性具有重要的意义.本文采用面向二进制代码的动态分析方法,提出了基于错误注入技术的远程缓冲区溢出漏洞检测模型,介绍了系统结构和模块功能,详述了系统中关键技术,给出了系统测试结果. 相似文献
13.
Dynamic threshold generators for robust fault detection in linear systems with parameter uncertainty 总被引:1,自引:0,他引:1
Andreas Johansson Author Vitae Michael Bask Author Vitae Author Vitae 《Automatica》2006,42(7):1095-1106
The problem of developing robust thresholds for fault detection is addressed. An inequality for the solution of a linear system with uncertain parameters is provided and is shown to be a valuable tool for developing dynamic threshold generators for fault detection. Such threshold generators are desirable for achieving robustness against model uncertainty in combination with sensitivity to small faults.The usefulness of the inequality is illustrated by developing an algorithm for detection of sensor faults in a turbofan engine. The proposed algorithm consists of a state observer with integral action. A dynamic threshold generator is derived under the assumption of parametric uncertainty in the process model. Successful simulations with measurement data show that the algorithm is capable of detecting faults without generating false alarms. 相似文献
14.
15.
16.
本文在文献[1,2]的基础上,提出了一种改进区间迭代的新算法。文中首先论述该方法的迭代步骤。然后,把这种方法应用到容差网络故障诊断中去,并与其他算法进行比较,取得较为精确的计算结果。 相似文献
17.
Sliding mode estimation schemes for incipient sensor faults 总被引:3,自引:0,他引:3
This paper proposes a new method for the analysis and design of sliding mode observers for sensor fault reconstruction. The proposed scheme addresses one of the restrictions inherent in other sliding mode estimation approaches for sensor faults in the literature (which effectively require the open-loop system to be stable). For open-loop unstable systems, examples can be found, for certain combinations of sensor faults, for which existing sliding mode and unknown input linear observer schemes cannot be employed, to reconstruct faults. The method proposed in this paper overcomes these limitations. Simulation results demonstrate the effectiveness of the design framework proposed in the paper. 相似文献
18.
This paper presents the evaluation process and results associated with two different fault detection and diagnosis (FDD) schemes applied to two different aircraft actuator fault benchmark problems. Although the schemes are different and bespoke for the problem being addressed, both are based on the concept of a second order sliding mode. Furthermore both designs are considered as ‘local’ in the sense that a localized actuator model is used together with local sensor measurements. The schemes do not involve the global aircraft equations of motion, and therefore have low order. The first FDD scheme is associated with the detection of oscillatory failure cases (OFC), while the second scheme is aimed at the detection of actuator jams/runaways. For the OFC benchmark problem, the idea is to estimate the OFC using a mathematical model of the actuator in which the rod speed is estimated using an adaptive second order exact differentiator. For the jam/runaway actuator benchmark problem, a more classical sliding mode observer based FDD scheme is considered in which the fault reconstruction is obtained from the equivalent output error injection signals associated with a second order sliding mode structure. The results presented in this paper summarize the design process from tuning, testing and finally industrial evaluation as part of the ADDSAFE project. 相似文献