首页> 外文期刊>Automated software engineering >Automatic B-model repair using model checking and machine learning
【24h】

Automatic B-model repair using model checking and machine learning

机译:自动B模型修复使用模型检查和机器学习

获取原文

摘要

The B-method, which provides automated verification for the design of software systems, still requires users to manually repair faulty models. This paper proposes B-repair, an approach that supports automated repair of faulty models written in the B formal specification language. After discovering a fault in a model using the B-method, B-repair is able to suggest possible repairs for the fault, estimate the quality of suggested repairs and use a suitable repair to revise the model. The suggestion of repairs is produced using the Isolation method, which suggests changing the pre-conditions of operations, and the Revision method, which suggests changing the post-conditions of operations. The estimation of repair quality makes use of machine learning techniques that can learn the features of state transitions. After estimating the quality of suggested repairs, the repairs are ranked, and a best repair is selected according to the result of ranking and is used to revise the model. This approach has been evaluated using a set of finite state machines seeded with faults and a case study. The evaluation has revealed that B-repair is able to repair a large number of faults, including invariant violations, assertion violations and deadlock states, and gain high accuracies of repair. Using the combination of model checking and machine learning-guided techniques, B-repair saves development time by finding and repairing faults automatically during design.
机译:为软件系统设计提供自动验证的B方法,仍然需要用户手动修复错误的模型。本文提出了一种方法,一种方法,一种方法支持以B形式规格语言编写的有缺陷模型的自动修复。在使用B-Method发现模型中的故障后,B-Repair能够建议对故障进行可能的修理,估计建议维修的质量,并使用合适的修复来修改模型。使用隔离方法产生修理的建议,该方法建议改变操作的预先条件,以及修订方法,旨在改变操作后的操作系统。修复质量的估计利用机器学习技术,可以学习状态转换的特征。在估计建议维修的质量之后,对维修进行排名,并根据排名结果选择最佳修复,并用于修改模型。使用了一套具有故障的有限状态机和案例研究的一组有限状态机进行了评估。评估揭示了B-Repeion能够修复大量故障,包括不变的违规,断言违规和死锁状态,并获得高准确的修复精度。使用模型检查和机器学习引导技术的组合,B-Repeion通过在设计期间自动查找和修复故障来节省开发时间。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号