高级检索

非法计算检测的通用模型

A General Model for Detecting Invalid Arithmetic Operation

  • 摘要: 非法计算是导致系统崩溃的一个常见故障.文中总结了Java语言中可能产生非法计算的运算符和数学库函数;建立了一个通用模型,用以检测一般函数(包括系统函数和自定义函数)在使用时是否合法;基于该通用模型提出了非法计算检测算法,并在此算法中引入区间运算.实验结果表明,文中模型及算法可以在检测出更多的非法计算故障的同时降低误报率.

     

    Abstract: Invalid arithmetic operation is one of the common faults that may lead to system halt. This paper summarizes the operations and system functions susceptible to invalid arithmetic operation in Java programming language.A general model is proposed to detect illegal usages of functions, including user-defined functions and system functions.Based on the proposed model,we design an algorithm to detect invalid arithmetic operation using the interval computation.Experimental results show that the proposed model and algorithm can detect more invalid arithmetic operation faults while producing less false positive.

     

/

返回文章
返回