Skip to content
NewA calmer, faster ZeroHour

No Bit Left Behind: Using Brute-Force Lifting to Achieve Fully Static Binary Recompilation

arXiv cs.CRby Tianjiao Huang ()1 min read2 · 1 read
AI summary · glm-5.3Summaries by Vani AI

Prototype binary lifter brute-force lifts every byte offset of x86-64 binaries to LLVM IR, enabling fully static cross-ISA recompilation without runtime support.

The paper presents a fully static, whole-program binary lifting system that treats every byte offset as a potential branch target, constructing a superset control flow graph that conservatively contains all feasible control flows. Statically unresolvable computed branches are reduced to lookups in a dispatch table pointing to translated control flow paths, eliminating runtime translation machinery on the target machine. A prototype recompiles x86-64 binaries to LLVM IR with no code/data heuristics and achieves fully static cross-compilation to AArch64 using unmodified LLVM backends.

Key facts
  • Brute-force lifting treats every byte offset as potential branch target
  • Superset CFG conservatively contains all feasible control flows
  • No runtime translation support needed on target machine
  • Prototype lifts x86-64 to LLVM IR; static AArch64 cross-compilation validated
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

1 min read at arxiv.org

Binary recompilation is a technique for operating directly on executable code. It promises to automate two important tasks: retrofitting security mitigations onto legacy binaries, and migrating binaries across instruction set architectures (ISAs).

arXiv cs.CR

By Tianjiao Huang · arxiv.org

Read the full article at arXiv cs.CR

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.