VEIL:像阅读代码一样阅读控制流图
VEIL: Reading Control Flow Graphs Like Code
AI总结:
本文针对控制流图可视化中执行顺序易被破坏的问题,提出基于支配关系分析的布局算法VEIL,并通过真实应用验证其可读性和布局性能优于现有图绘制技术。
摘要:
控制流图(CFGs)是理解程序行为的重要工具,然而现实世界中的控制流图规模庞大,使其难以解读。面对成千上万的节点和边,需要复杂的图绘制算法将其呈现在屏幕上,使其具备可读性和可理解性。然而,由于这些算法是为通用图设计的,它们经常破坏自然的执行流程,将后续指令置于先前指令之前,并掩盖关键的程序结构。在本文中,我们引入了一组专门为控制流图可视化定制的标准,重点关注保持执行顺序并使复杂结构更易于理解。基于这些标准,我们提出了VEIL,一种新的布局算法,它利用支配关系分析(dominator analysis)生成更清晰、更直观的控制流图布局。通过对来自真实应用程序的控制流图进行研究,我们展示了与最先进的图绘制技术相比,我们的方法如何提高可读性并提供更优的布局性能。
英文摘要:
Control flow graphs (CFGs) are essential tools for understanding program behavior, yet the size of real-world CFGs makes them difficult to interpret. With thousands of nodes and edges, sophisticated graph drawing algorithms are required to present them on screens in ways that make them readable and understandable. However, being designed for general graphs, these algorithms frequently break the natural flow of execution, placing later instructions before earlier ones and obscuring critical program structures. In this paper, we introduce a set of criteria specifically tailored for CFG visualization, focusing on preserving execution order and making complex structures easier to follow. Building on these criteria, we present VEIL, a new layout algorithm that uses dominator analysis to produce clearer, more intuitive CFG layouts. Through a study of CFGs from real-world applications, we show how our method improves readability and provides improved layout performance compared to state of the art graph drawing techniques.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。