
Yet another applied PL engineer (KR/EN/JP)
- Tweets525
- Following793
- Followers232
- Likes4.6K

ALT Executable formal specifications support reliable emulation, binary analysis, and formal verification of machine code. However, existing x86-64 specifications remain incomplete, and direct translations of instruction pseudocode introduce data-dependent branches that increase path exploration during symbolic execution. We present sail-x86, to our knowledge the most comprehensive executable formal specification of x86-64, written in Sail. It covers 96% (4,043 of 4,218) of the instructions in Intel's architecture manual and key system features including paging, exception handling, and virtualization. We construct and validate sail-x86 through large language model (LLM)-assisted translation, manual review, hardware differential testing, and full-system execution. Its emulator boots unmodified Linux and Windows 95 and runs a guest using Linux KVM. Validation also revealed a bug in Intel's architecture manual and a case where Linux relies on behavior that the manual leaves undefined. To redu
































