...
首页> 外文期刊>Electronic Notes in Theoretical Computer Science >Non-Intrusive Structural Coverage for Objective Caml
【24h】

Non-Intrusive Structural Coverage for Objective Caml

机译:物镜的非侵入式结构覆盖

获取原文
   

获取外文期刊封面封底 >>

       

摘要

This paper presents a non-intrusive method for Objective Caml code coverage analysis. While classic methods rewrite the source code to an instrumented version that will produce traces at runtime, our approach chooses not to rewrite the source code. Instead, we use a virtual machine to monitor instructions execution and produce traces. These low-level traces are used to create a machine code coverage report. Combined with control-flow debug information, they can be analyzed to produce a source code coverage report. The purpose of this approach is to make available a method to generate code coverage analysis with the same binary for testing and for production. Our customized virtual machine respects the same semantics as the original virtual machine; one of its original aspects is that it is implemented in the Objective Caml, the very language we build the tool for.This work is part of theCoverageproject, which aims to develop open source tools for safety-critical embedded applications and their code generators.
机译:本文提出了一种非侵入性的目标Caml代码覆盖率分析方法。虽然经典方法将源代码重写为可在运行时产生跟踪的检测版本,但我们的方法选择不重写源代码。相反,我们使用虚拟机来监视指令执行并产生跟踪。这些低级跟踪用于创建机器代码覆盖率报告。结合控制流调试信息,可以对其进行分析以生成源代码覆盖率报告。这种方法的目的是提供一种方法来生成具有相同二进制代码的代码覆盖率分析,以用于测试和生产。我们定制的虚拟机遵循与原始虚拟机相同的语义。它的原始方面之一是在Objective Caml(我们为之构建工具的语言)中实现。这项工作是Coverage项目的一部分,该项目旨在为安全关键型嵌入式应用及其代码生成器开发开源工具。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号