3 ms·
The program described in this article is as simple as possible. What about something more complex, like basic "hello world"? It requires at least one more sysca
by Panzerschrek 1mo ago
The program described in this article is as simple as possible. What about something more complex, like basic "hello world"? It requires at least one more syscall and several bytes more data.
- stevekemp 1mo agoTake a look at the collections by the same author: https://www.muppetlabs.com/~breadbox/software/tiny/home.html https://www.muppetlabs.com/~breadbox/software/tiny/home.html There are some more complete programs there.
- Retr0id 1mo agoMy approach to crafting "small" ELFs (in the hundreds-of-bytes range, written in relatively normal C) is like so: https://github.com/DavidBuchanan314/kurl/blob/main/golfed/elf_entry.s https://github.com/DavidBuchanan314/kurl/blob/main/golfed/el...