arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1501.04730cs.PL
收藏

使用文件格式规范的文件处理程序的静态分析

Static Analysis of File-Processing Programs using File Format Specifications

Raveendra Kumar Medicherla, Raghavan Komondoor, S. Narendran

摘要:

处理驻留在文件中的数据的程序广泛用于各种领域,例如银行,医疗保健和网络流量分析。在软件验证和转换任务的背景下,对这些程序进行精确的静态分析是一个具有挑战性的问题。我们的主要见解是,文件处理程序的静态分析可以更有用的,如果这些程序的输入文件格式的知识是提供给分析。我们提出了一个通用的框架,它能够执行任何给定的底层抽象解释的程序,同时限制的注意力分析程序路径时,可能是可行的程序的输入符合给定的文件格式规范。我们描述了我们的方法的实现,并提出了实证结果,使用真实和现实的程序,显示我们的方法如何使新的验证和转换任务,也提高了标准分析问题的精度。

英文摘要:

Programs that process data that reside in files are widely used in varied domains, such as banking, healthcare, and web-traffic analysis. Precise static analysis of these programs in the context of software verification and transformation tasks is a challenging problem. Our key insight is that static analysis of file-processing programs can be made more useful if knowledge of the input file formats of these programs is made available to the analysis. We propose a generic framework that is able to perform any given underlying abstract interpretation on the program, while restricting the attention of the analysis to program paths that are potentially feasible when the program's input conforms to the given file format specification. We describe an implementation of our approach, and present empirical results using real and realistic programs that show how our approach enables novel verification and transformation tasks, and also improves the precision of standard analysis problems.

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

↑