Security Dispatch
When Machines Generate Circuits and Machine Code, a Conventionally Built Version Becomes the Judge
When a machine generates a circuit or a program's raw bytes, something has to decide whether the result is right. Two projects settle that the same way. Each generated result runs beside a reference made the conventional way, and it is kept only if the two agree. Whatever the generator produces, the reference has the final say.
Audio is in English only for this language. Also read aloud in Spanish, French, Italian and Portuguese.
An Elixir function that also defines its own circuit
Elixir HLS turns functions written in the Elixir programming language into FPGA circuits, according to the project's GitHub page. An FPGA is a chip whose wiring can be reconfigured after it is made. The method, high-level synthesis, lets the author write what to compute while the tool works out the clock timing and the registers, the small storage cells a circuit uses to hold values.
The project's README, its main documentation file, says a function marked with defhls "stays an ordinary Elixir function that runs on the CPU," the computer's main processor, "and also becomes an FPGA circuit." Its compile command turns each function into SystemVerilog, a language for describing circuits. It then simulates every circuit against its original function and "stops at a circuit that does not match." Each circuit is "used only if the results match, so the Elixir function is the circuit's specification."
The reference is also shaped to fit the hardware. A type such as u32, an unsigned 32-bit number, sets the circuit's bit width, which is how many binary digits each value carries. The README adds that "on the CPU the values are cut to the same widths, so the CPU and the circuit compute the same results."
Machine code graded against a GCC build, byte for byte
In a blog post dated November 2026, George Xenos and Sotiris Giannopoulos describe giving the model GPT-6.1 Sol a hex dump, which is a program's raw bytes written out as numbers. The model had no compiler, assembler or disassembler, the tools that normally translate between readable code and machine code. It got one reply per program, with "no feedback and no second try." It added features to three programs by editing their bytes in place, and it wrote three programs from a written description alone.
Each of the model's files and a reference build made with GCC, a widely used compiler, ran on every test case, and "stdout and exit code must match byte for byte." Stdout is the text a program prints. The exit code is the number it returns when it finishes. The authors report that all three patched programs passed every test, including hidden tests. They also report that all three files written from scratch "ran and matched the reference on every case."
The generated files looked nothing like the referee. The model's from-scratch wordcount program was 391 bytes, against 5,432 bytes for the GCC build. The rule looks only at what each program prints and returns, so both files are judged the same way.
A model reading only bytes found a bug in a published tool
The same blog post describes an earlier experiment that the authors did not formally score. They built ministat, a statistics tool from FreeBSD, a free and open-source operating system. Then they stripped it, removing the symbol names that label a compiled program's parts. They also removed all of its own text and hid its last three strings, the pieces of text stored inside the program.
Reading the bytes alone, the model noticed that "the option labeled 99.5% confidence uses critical values for about 99.8%." Critical values are the thresholds a statistical test compares its result against. Running ministat with the option -c 99.5, which asks for a test at 99.5% confidence, therefore "applies a stricter test than it claims." The authors say they confirmed the bug in the original source code using Claude.
Ministat was never a reference in either project. It is, though, the same kind of thing both projects trust as the final word: an established program, built the conventional way, whose behavior is taken as correct.
An exact-match referee would reward a faithful copy of the error
Suppose, hypothetically, that ministat had served as the reference in a byte-for-byte setup. A generated version that reproduced the 99.8% values would pass. One that used the correct values for 99.5% would print different numbers and fail. An exact-match referee can tell only that two outputs differ, not which one is right.
The real checks also stop at their own edges. Elixir HLS compares each circuit with its function in simulation. The machine code experiments compared each file with its GCC build on a set of test cases. Either way, results are compared only for the inputs given.
What would recognize a reference that is wrong
In both projects, disagreement with the reference has one meaning: the generated output failed. That rule works as long as the reference is right. If a generator someday disagrees with its reference because the reference is the one at fault, what in a setup like this would recognize that, instead of recording a failure?
Early releases graded against conventional references
Both projects are at an early stage. The Elixir HLS README calls version 0.1.0 "its first release, an early one," with division, floats and recursion not yet supported. The machine code experiments were small: four programs in the reading experiment, three each in the patching and writing experiments, and a single malware sample in the last. The patching, writing and malware experiments used one attempt per program, and the reading and malware experiments were not formally scored.
In one project, the referee is an Elixir function a person writes and can read. In the other, it is output from a standard compiler. The one error in this story turned up in an experiment the authors did not score. A model reading bytes flagged it, and the authors then checked it against the original source.