首页> 外文期刊>Computer architecture news >Transparent Mutable Replay for Multicore Debugging and Patch Validation
【24h】

Transparent Mutable Replay for Multicore Debugging and Patch Validation

机译:用于多核调试和补丁验证的透明可变重播

获取原文
获取原文并翻译 | 示例

摘要

We present Dora, a mutable record-replay system which allows a recorded execution of an application to be replayed with a modified version of the application. This feature, not available in previous record-replay systems, enables powerful new functionality. In particular, Dora can help reproduce, diagnose, and fix software bugs by replaying a version of a recorded application that is recompiled with debugging information, reconfigured to produce verbose log output, modified to include additional print statements, or patched to fix a bug. DORA uses lightweight operating system mechanisms to record an application execution by capturing nondeterministic events to a log without imposing unnecessary timing and ordering constraints. It replays the log using a modified version of the application even in the presence of added, deleted, or modified operations that do not match events in the log. Dora searches for a replay that minimizes differences between the log and the replayed execution of the modified program. If there are no modifications, Dora provides deterministic replay of the unmodified program. We have implemented a Linux prototype which provides transparent mutable replay without recompiling or relinking applications. We show that Dora is useful for reproducing, diagnosing, and fixing software bugs in real-world applications, including Apache and MySQL. Our results show that Dora (1) captures bugs and replays them with applications modified or reconfigured to produce additional debugging output for root cause diagnosis, (2) captures exploits and replays them with patched applications to validate that the patches successfully eliminate vulnerabilities, (3) records production workloads and replays them with patched applications to validate patches with realistic workloads, and (4) maintains low recording overhead on commodity multicore hardware, making it suitable for production systems.
机译:我们介绍了Dora,这是一种可变的记录重放系统,它允许使用应用程序的修改版本来重放应用程序的记录执行。此功能在以前的记录重放系统中不可用,可启用强大的新功能。尤其是,Dora可以通过重播已记录的应用程序版本来帮助重现,诊断和修复软件错误,该版本已使用调试信息重新编译,重新配置为产生详细的日志输出,已修改为包括其他打印语句或已打补丁以修复错误。 DORA使用轻量级操作系统机制,通过将不确定性事件捕获到日志中来记录应用程序执行,而无需施加不必要的时间和顺序约束。即使存在与日志事件不匹配的添加,删除或修改操作,它也会使用应用程序的修改版本来重放日志。 Dora搜索重播,以最大程度地减少日志和已修改程序的重播执行之间的差异。如果没有修改,Dora将提供未修改程序的确定性重放。我们已经实现了Linux原型,该原型提供了透明的可变重播,而无需重新编译或重新链接应用程序。我们证明了Dora对于再现,诊断和修复包括Apache和MySQL在内的实际应用程序中的软件错误很有用。我们的结果表明,Dora(1)捕获错误并使用经过修改或重新配置的应用程序重播它们,以产生其他调试输出以进行根本原因诊断;(2)捕获漏洞并使用已修补的应用程序重播以验证补丁是否成功消除了漏洞;(3 )记录生产工作负载并使用修补的应用程序重播它们,以验证具有实际工作负载的补丁,并且(4)在商品多核硬件上保持较低的记录开销,使其适用于生产系统。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号