libLISA: Instruction Discovery and Analysis on x86-64
Jos Craaijo, Freek Verbeek, Binoy Ravindran
Abstract
Even though heavily researched, a full formal model of the x86-64 instruction set is still not available. We present libLISA , a tool for automated discovery and analysis of the ISA of a CPU. This produces the most extensive formal x86-64 model to date, with over 118 000 different instruction groups. The process requires as little human specification as possible: specifically, we do not rely on a human-written (dis)assembler to dictate which instructions are executable on a given CPU, or what their in- and outputs are. The generated model is CPU-specific: behavior that is “undefined” is synthesized for the current machine. Producing models for five different x86-64 machines, we mutually compare them, discover undocumented instructions, and generate instruction sequences that are CPU-specific. Experimental evaluation shows that we enumerate virtually all instructions within scope, that the instructions’ semantics are correct w.r.t. existing work, and that we improve existing work by exposing bugs in their handwritten models.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 507fef10-4f3b-41db-999e-a5cd50477e8eBuilds on1
Related papers
- InstrSem: Automatically and Generically Inferring Semantics of (Undocumented) CPU InstructionsLorenz Hetterich, Fabian Thomas, Tristan Hornetz, Michael SchwarzUSENIX Security 2026
- Formalizing the Linux eBPF Core ISA: A Mechanized Operational Semantics and Its Real-World ApplicationsShenghao Yuan, Yazhou Tang, Tianci Cao, Frédéric Besson et al.OOPSLA 2026
- Scalable validation of binary liftersSandeep Dasgupta, Sushant Dinesh, Deepan Venkatesh, Vikram S. Adve et al.PLDI 2020 · 29 citations
- InSPECtor: Improving SLEIGH Specification Veracity via ProxyMichael Chesser, Paul Quirk, Douglas Cooke, Guy Farrelly et al.USENIX Security 2026
- ISA Modeling with Trace Notation for Context Free Property GenerationKeerthikumara Devarajegowda, Endri Kaja, Sebastian Siegfried Prebeck, Wolfgang EckerDAC 2021 · 8 citations
