跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:2607.23900 (cs)
[提交于 2026年7月27日]

标题:KernelScript: Cross-Boundary Typed DSL for eBPF Applications

作者:Cong Wang, Siyuan Sun, Yusheng Zheng
查看论文《KernelScript: Cross-Boundary Typed DSL for eBPF Applications》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:eBPF lets developers extend Linux with custom packet processing, tracing, and scheduling logic, and a verifier proves before execution that the code will not crash the kernel. The programming model, however, is fragmented: a single application spans kernel code, a userspace loader, and shared maps, yet the relationships among these pieces go unchecked. E.g. A map or event type defined differently on each side silently corrupts shared state. We observe that these cross-boundary relationships duplicate information that a type system can unify. We present KernelScript, a DSL that types maps, program handles, and execution domains in one source, then compiles to standard C through the original toolchain. We evaluate KernelScript on 43 eBPF workloads covering XDP, TC, kprobe, tracepoint, and struct_ops. KernelScript rejects cross-boundary bugs at compile time that standard C/libbpf still builds and loads, a unified source shrinks the diffs for cross-boundary changes by 5x, and generated code remains compatible with the existing toolchain.
主题: 程序设计语言 (cs.PL); 操作系统 (cs.OS)
引用方式: arXiv:2607.23900 [cs.PL]
  (或者 arXiv:2607.23900v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2607.23900

提交历史

来自:Yusheng Zheng
[v1] 2026年7月27日 星期一 00:14:33 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-07
切换浏览方式为:
cs
cs.OS

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站