r/accelerate • AI Artist • 17h ago

Article Programming in the Machine Code Space: LLMs can read & write executables byte by byte

https://sgiannopoulos.github.io/blog/machine-code-programming/
13 Upvotes

2 comments sorted by

1

u/CrowdGoesWildWoooo 17h ago

I don’t feel this is much more relevant than some discreet behavioural patching or malware analysis.

For doing something that is more constructive even if we assume it’s possible to do it, but for the most part it’s a waste of token and simply poor engineering practice.

1

u/TechgeekOne 12h ago

I fully agree. It's not exactly an impressive feat, human engineers could do it already with enough effort (I personally have for custom binary formats, executable editing, and bytecode outputs). It's usually not worth the effort unless you don't have the source code or you're debugging something going wrong in the process generating a given binary output.

Plus it's effectively useless at scale because you just threw away all the guarantees and optimizations you get with a compiler. Code is extremely repetitive, it's far more efficient to point those tokens at building or improving reusable tools than to try to hand write binaries.