3 ms·
"Unless your assembler, loader, OS, or microprocessor is also backdoored :)" On the lowest level, you can hand-check it with pencil and paper. Per Brinch Hanse
by nickpsecurity 10y ago
"Unless your assembler, loader, OS, or microprocessor is also backdoored :)"
On the lowest level, you can hand-check it with pencil and paper. Per Brinch Hansen used to write the earliest compilers in ALGOL that he type-checked and tested by hand. He'd then write optimized assembly that visibly matched each function or procedure. He claimed the ALGOL still aided correctness plus served as better documentation of algorithms than commented ASM.
Far as Rust, one could do it by hand if they skipped safety checks and optimizations. Otherwise, do it in older or randomly acquired stuff highly unlikely to be subverted. Many such devices.