Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2508.01530v1

帮助 | 高级搜索

计算机科学 > 密码学与安全

arXiv:2508.01530v1 (cs)
[提交于 2025年8月3日 ]

标题: DALEQ -- Java字节码的可解释等价性

标题: DALEQ -- Explainable Equivalence for Java Bytecode

Authors:Jens Dietrich, Behnaz Hassanshahi
摘要: 软件构建的安全性近年来引起了越来越多的关注,这是对SolarWinds和xz等事件的回应。 现在,包括Oracle和Google在内的几家公司在安全环境中重新构建开源项目,并通过专用存储库发布生成的二进制文件。 这种做法使得这些重新构建的二进制文件可以与开发者在Maven Central等存储库中发布的原始二进制文件进行直接比较。 这些二进制文件通常不是按位完全相同的;然而,在大多数情况下,差异可以归因于构建环境的变化,这些二进制文件仍然可以被认为是等价的。 然而,建立这种等价性是一个劳动密集且容易出错的过程。 虽然有一些工具可用于此目的,但它们都无法提供来源信息,即为什么两个二进制文件是等价的或不等价的可读解释。 为了解决这个问题,我们提出了daleq,这是一个将Java字节码反汇编到关系数据库中的工具,并可以通过应用Datalog规则对这个数据库进行规范化。 然后可以使用这些数据库来推断两个类之间的等价性。 值得注意的是,等价性陈述会附带记录规范化过程的Datalog证明。 我们通过一项涉及2,714对JAR文件(包含265,690对类)的大规模评估,在工业环境中展示了daleq的影响。 在这项评估中,daleq与两种现有的字节码转换工具进行了比较。 我们的研究结果表明,评估非按位等价的工件所需的手动工作量显著减少,否则这些工件需要大量的人工检查。 此外,结果表明,daleq在识别从同一代码重新构建的更多等价工件方面优于现有工具,即使没有行为上的差异。
摘要: The security of software builds has attracted increased attention in recent years in response to incidents like solarwinds and xz. Now, several companies including Oracle and Google rebuild open source projects in a secure environment and publish the resulting binaries through dedicated repositories. This practice enables direct comparison between these rebuilt binaries and the original ones produced by developers and published in repositories such as Maven Central. These binaries are often not bitwise identical; however, in most cases, the differences can be attributed to variations in the build environment, and the binaries can still be considered equivalent. Establishing such equivalence, however, is a labor-intensive and error-prone process. While there are some tools that can be used for this purpose, they all fall short of providing provenance, i.e. readable explanation of why two binaries are equivalent, or not. To address this issue, we present daleq, a tool that disassembles Java byte code into a relational database, and can normalise this database by applying datalog rules. Those databases can then be used to infer equivalence between two classes. Notably, equivalence statements are accompanied with datalog proofs recording the normalisation process. We demonstrate the impact of daleq in an industrial context through a large-scale evaluation involving 2,714 pairs of jars, comprising 265,690 class pairs. In this evaluation, daleq is compared to two existing bytecode transformation tools. Our findings reveal a significant reduction in the manual effort required to assess non-bitwise equivalent artifacts, which would otherwise demand intensive human inspection. Furthermore, the results show that daleq outperforms existing tools by identifying more artifacts rebuilt from the same code as equivalent, even when no behavioral differences are present.
主题: 密码学与安全 (cs.CR)
引用方式: arXiv:2508.01530 [cs.CR]
  (或者 arXiv:2508.01530v1 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2508.01530
通过 DataCite 发表的 arXiv DOI

提交历史

来自: Jens Dietrich [查看电子邮件]
[v1] 星期日, 2025 年 8 月 3 日 01:17:25 UTC (1,185 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • HTML(实验性)
  • TeX 源代码
  • 其他格式
许可图标 查看许可
当前浏览上下文:
cs.CR
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-08
切换浏览方式为:
cs

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号