arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.08251cs.PLcs.LO
收藏

抽象解释的责任分析

Responsibility Analysis by Abstract Interpretation

Chaoqiang Deng, Patrick Cousot

摘要:

给定程序中感兴趣的行为,静态地确定相应的责任实体是至关重要的任务,特别是在程序安全性方面。经典的静态分析技术(例如依赖性分析、污点分析、切片等)帮助程序员缩小责任范围,但他们都不能明确地确定责任实体。同时,因果关系分析一般不适用于程序的分析,而结构方程模型(SEM)的实际因果关系忽略了程序固有的一些信息,使得其对程序的分析不精确。本文提出了一种新的基于事件跟踪语义抽象的责任定义,该定义可应用于程序安全等科学领域。简单地说,实体ER负责行为B,当且仅当ER可以自由选择其输入值,并且这样的选择是确保B在即将到来的执行中出现的第一个选择。与现有的分析方法相比,责任分析更加精确。此外,我们对责任的定义考虑了观察者的认知,据我们所知,这是程序分析中的一个新的创新思想。

英文摘要:

Given a behavior of interest in the program, statically determining the corresponding responsible entity is a task of critical importance, especially in program security. Classical static analysis techniques (e.g. dependency analysis, taint analysis, slicing, etc.) assist programmers in narrowing down the scope of responsibility, but none of them can explicitly identify the responsible entity. Meanwhile, the causality analysis is generally not pertinent for analyzing programs, and the structural equations model (SEM) of actual causality misses some information inherent in programs, making its analysis on programs imprecise. In this paper, a novel definition of responsibility based on the abstraction of event trace semantics is proposed, which can be applied in program security and other scientific fields. Briefly speaking, an entity ER is responsible for behavior B, if and only if ER is free to choose its input value, and such a choice is the first one that ensures the occurrence of B in the forthcoming execution. Compared to current analysis methods, the responsibility analysis is more precise. In addition, our definition of responsibility takes into account the cognizance of the observer, which, to the best of our knowledge, is a new innovative idea in program analysis.

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

↑