Comment on Show HN: A (marginally) useful x86-64 ELF executable in 301 bytesparentComments−meriboldOP5moIf the savings are about `mov $1, %edi` and `mov $10, %ecx`, those 32-bit immediate values line up with the higher bytes of p_filesz and p_memsz in the program header, which have to be zero [1]. If not, what are the savings? :)[1]: https://github.com/meribold/btry/commit/8ef5a4ce58ae73c489d2...
Comments
If the savings are about `mov $1, %edi` and `mov $10, %ecx`, those 32-bit immediate values line up with the higher bytes of p_filesz and p_memsz in the program header, which have to be zero [1]. If not, what are the savings? :)
[1]: https://github.com/meribold/btry/commit/8ef5a4ce58ae73c489d2...