English

CuLifter: Lifting GPU Binaries to Typed IR

Hardware Architecture 2026-05-01 v1

Abstract

GPU compilers merge all data types into a single unified register file, erasing the type information that binary-analysis tools rely on. We show that type recovery from this untyped register file is the central challenge of GPU binary lifting. We present CuLifter, a SASS-to-LLVM IR lifting framework that recovers register types via constraint propagation with conflict detection, reconstructs explicit control flow, and aggregates multi-instruction patterns. Across eight benchmark suites (24,437 GPU functions in 919 cubins) spanning open-source applications, vendor libraries, and optimized ML runtimes, CuLifter successfully lifts 99.98% of functions to valid LLVM IR. An ablation study confirms that type recovery is the only step required to produce semantically correct IR: disabling it drops the x86 pass rate from 73.8% to 0%, a 73.8 percentage-point drop.

Cite

@article{arxiv.2604.27486,
  title  = {CuLifter: Lifting GPU Binaries to Typed IR},
  author = {Jisheng Zhao and Huanzhi Pu and Shinnung Jeong and Chihyo Ahn and Hyesoon Kim},
  journal= {arXiv preprint arXiv:2604.27486},
  year   = {2026}
}

Comments

15 pages, 11 figures, 11 tables. Preprint

R2 v1 2026-07-01T12:42:59.705Z