arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2105.12819cs.SEcs.PL
收藏

LLDB中实时反向调度的实现

Implementation of Live Reverse Debugging in LLDB

Anthony Savidis, Vangelis Tsiatsianas

摘要:

测试是一个必不可少的过程,在开发工作中占有很大的份额,通过跟踪、检查和迭代运行会话来不断地寻找攻击性代码。可能每个开发人员都有过这样的情况,他们明确希望时间倒退一段时间,只是为了重试一些操作,而不是重新启动整个会话。好吧,实现这个愿望的精灵被称为反向调试器。它们固有的技术复杂性使它们很难实现,而强加的执行开销使它们不太适合采用。只有少数几个可用的工具,大多数是离线工具,工作在记录的,以前运行的会话上。我们认为现场反向调试器既具有挑战性又有前途,因为它们可以适应现有的正向调试器,我们开发了第一个现场反向调试器LLDB的顶部,详细讨论了我们的实现方法。

英文摘要:

Debugging is an essential process with a large share of the development effort, being a relentless quest for offensive code through tracing, inspection and iterative running sessions. Probably every developer has been in a situation with a clear wish to rewind time just for a while, only to retry some actions alternatively, instead of restarting the entire session. Well, the genie to fulfill such a wish is known as a reverse debugger. Their inherent technical complexity makes them very hard to implement, while the imposed execution overhead turns them to less preferable for adoption. There are only a few available, most being off-line tools, working on recorded, previously run, sessions. We consider live reverse debuggers both challenging and promising, since they can fit into existing forward debuggers, and we developed the first live reverse debugger on top of LLDB, discussing in detail our implementation approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑