Programming in the Machine Code Space: LLMs can read & write executables byte by byte
Researchers report that a frontier model analyzed hex dumps, patched three small executables, and generated three working ELF programs without tools during inference. The patches and generated programs passed their test cases; a separate malware analysis was checked against sandbox results.
This is a small exploratory experiment, not a general benchmark: the largest binary analyzed was 67 KB, hex uses roughly 2.4 tokens per byte, and the malware analysis was a single sample. An open-weight model also identified the malware’s broad behavior but made several mistakes.
HN commenters debate what binaries reveal about source code and whether such abilities require training on executables; those training-data claims are speculative.