arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1804.08902cs.SEcs.CRcs.DScs.LG
收藏

通过安装尝试学习软件约束

Learning Software Constraints via Installation Attempts

Harvard University(哈佛大学);Nokia Bell Labs(诺基亚贝尔实验室)

Ran Ben Basat, Maayan Goldstein, Itai Segall

摘要:

现代软件系统应该是安全的,并包含所有最新的功能,即使新版本的软件在一小时内发布多次。每个系统可以包括许多相互作用的包。安装多个依赖包的问题在过去已经被广泛研究,产生了一些在实践中工作良好的有前途的解决方案。但是,这些都假设开发人员声明了包之间的所有依赖关系和冲突。通常情况下,整个存储库结构可能并不预先知道,例如当包由不同的供应商开发时。在本文中,我们提出了学习依赖关系,冲突和有缺陷的软件包安装尝试的算法。我们的算法使用组合数据结构来生成测试安装和发现整个依赖结构的查询。算法所做的查询对应于尝试安装包的子集,并获得关于是否满足该子集中的所有约束的布尔反馈。我们的目标是尽量减少算法的查询复杂度。我们证明了这些算法需要为不同的问题设置的查询数量的上下限。

英文摘要:

Modern software systems are expected to be secure and contain all the latest features, even when new versions of software are released multiple times an hour. Each system may include many interacting packages. The problem of installing multiple dependent packages has been extensively studied in the past, yielding some promising solutions that work well in practice. However, these assume that the developers declare all the dependencies and conflicts between the packages. Oftentimes, the entire repository structure may not be known upfront, for example when packages are developed by different vendors. In this paper, we present algorithms for learning dependencies, conflicts and defective packages from installation attempts. Our algorithms use combinatorial data structures to generate queries that test installations and discover the entire dependency structure. A query that the algorithms make corresponds to trying to install a subset of packages and getting a Boolean feedback on whether all constraints were satisfied in this subset. Our goal is to minimize the query complexity of the algorithms. We prove lower and upper bounds on the number of queries that these algorithms require to make for different settings of the problem.

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

↑