The control logic models built by Simulink or Ptolemy have been widely used in industry scenes. It is an urgent need to ensure the safety and security of the control logic models. Test case generation technologies are widely used to ensure the safety and security. State-of-the-art model testing tools employ model checking techniques or search-based methods to generate test cases. Traditional search based techniques based on Simulink simulation are plagued by problems such as low speed and high overhead. Traditional model checking techniques such as symbolic execution have limited performance when dealing with nonlinear elements and complex loops. Recently, coverage guided fuzzing technologies are known to be effective for test case generation, due to their high efficiency and impressive effects over complex branches of loops. In this paper, we apply fuzzing methods to improve model testing and demonstrate the effectiveness. The fuzzing methods aim to cover more program branches by mutating valuable seeds. Inspired by this feature, we propose a novel integration technology SPsCGF, which leverages bounded model checking for symbolic execution to generate test cases as initial seeds and then conduct fuzzing based upon these worthy seeds. In this manner, our work combines the advantages of the model checking methods and fuzzing techniques in a novel way. Since the control logic models always receive signal inputs, we specifically design novel mutation operators for signals to improve the existing fuzzing method in model testing. Over the evaluated benchmarks which consist of industrial cases, SPsCGF could achieve 8% to 38% higher model coverage and 3x-10x time efficiency compared with the state-of-the-art works.
翻译:由Simmlink或Ptolemy建造的控制逻辑模型在工业场景中被广泛使用; 迫切需要确保控制逻辑模型的安全和安保; 迫切需要确保控制逻辑模型的安全和安保; 测试案例生成技术被广泛用于确保安全和安保; 最先进的模型测试工具使用模型检查技术或基于搜索的方法产生测试案例; 基于Simmlink模拟的传统搜索技术受到低速度和高管理率等问题的困扰; 传统模型检查技术,如象征性执行等,在处理非线性元素和复杂环时,其性能有限。 最近, 已知导导烟雾技术对于测试案例生成是有效的, 因为它们对复杂的环形分支具有很高的效率和令人印象深刻的影响。 在本文中,我们采用模糊的方法改进模型测试模型或基于搜索的功能; 由这个特点启发,我们提议一种新型的整合技术 SPCGFM 模型检查模式,作为初始种子的测试案例,然后根据这些有价值的种子进行烟雾学。 在本文中,我们采用模糊的方法来改进模型设计8的模型, 将现有的逻辑测试方法的优势与新的测试方法结合起来。