揭示静态分析中中间表示的力量:一项综述
Unveiling the Power of Intermediate Representations for Static Analysis: A Survey
AI总结:
该综述针对静态分析领域缺乏对中间表示(IR)价值系统性分析的问题,从IR视角梳理现代静态分析框架的核心目标与潜在方案,为从业者提供参考并指明研究方向。
摘要:
静态分析技术无需实际执行程序,通过分析并刻画程序行为来提升程序的安全性、性能与可靠性。本质上,静态分析以目标程序的中间表示(Intermediate Representation,IR)为输入,以提取关键程序信息并理解程序。然而,目前除了将IR作为信息提供者之外,缺乏对IR在静态分析中价值的系统性分析。通常而言,现代静态分析框架应具备支持对不同语言开展多样化分析、以最少时间消耗生成可靠结果、提供丰富自定义选项的能力。本综述系统梳理了这些目标,并从IR的角度回顾了潜在解决方案。它可作为静态分析领域学习者与从业者的手册,帮助其更好地理解IR设计,同时也为研究者揭示了大量研究机会。
英文摘要:
Static analysis techniques enhance the security, performance, and reliability of programs by analyzing and portraiting program behaviors without the need for actual execution. In essence, static analysis takes the Intermediate Representation (IR) of a target program as input to retrieve essential program information and understand the program. However, there is a lack of systematic analysis on the benefit of IR for static analysis, besides serving as an information provider. In general, a modern static analysis framework should possess the ability to conduct diverse analyses on different languages, producing reliable results with minimal time consumption, and offering extensive customization options. In this survey, we systematically characterize these goals and review the potential solutions from the perspective of IR. It can serve as a manual for learners and practitioners in the static analysis field to better understand IR design. Meanwhile, numerous research opportunities are revealed for researchers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。