diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-01-02 10:27:02 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-01-02 10:27:02 -0500 |
commit | 0ebc8ba43a0609dd1d176817cb1e34f8d77f642d (patch) | |
tree | 956b357ee8077fe1b146819110273d8480773f08 /content/posts | |
parent | a46dd1f4cd45869b731a4690ca2971462f53abd1 (diff) | |
download | pablotron.org-0ebc8ba43a0609dd1d176817cb1e34f8d77f642d.tar.bz2 pablotron.org-0ebc8ba43a0609dd1d176817cb1e34f8d77f642d.zip |
posts/tiny-binaries-assembly-optimization: improve wording
Diffstat (limited to 'content/posts')
-rw-r--r-- | content/posts/2022-01-01-tiny-binaries-assembly-optimization.md | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/content/posts/2022-01-01-tiny-binaries-assembly-optimization.md b/content/posts/2022-01-01-tiny-binaries-assembly-optimization.md index be4815c..a54b830 100644 --- a/content/posts/2022-01-01-tiny-binaries-assembly-optimization.md +++ b/content/posts/2022-01-01-tiny-binaries-assembly-optimization.md @@ -254,13 +254,9 @@ code_1: ``` -I tried shrinking Nathan's binary a couple of ways, without any luck. -For example, I tried removing the padding bytes at the end of the file, -but the binary will not execute without them. - -Anyway, with these changes the final binary size is 114 bytes. -[Linux][] will still happily execute the binary, but common tools like -`readelf`, `objdump`, and `file` can't make any sense of it: +These changes shrink the binary to 114 bytes. [Linux][] will still +happily execute the binary, but `readelf`, `objdump`, and `file` can't +make sense of it: ```bash $ make @@ -332,13 +328,12 @@ If you enjoyed this post, you may also like: [Linux][] binaries, including a table of unverified [ELF header][] bytes. * [A Whirlwind Tutorial on Creating Really Teensy ELF Executables for - Linux][tiny-elf-orig]: Classic original article on tiny 32-bit static - binaries. -* [My Own Private Binary][]: Sequel to [A Whirlwind Tutorial on - Creating Really Teensy ELF Executables for Linux][tiny-elf-orig] where - the author creates a 0 byte executable using a kernel module. + Linux][tiny-elf-orig]: Classic article on tiny 32-bit static binaries. +* [My Own Private Binary][]: Sequel to [A Whirlwind + Tutorial][tiny-elf-orig] where the author creates a 0 byte executable + using a kernel module. -**Update (2022-01-02):** Fix typos, dewordify, improve grammar. +**Update (2022-01-02):** Shorten, fix typos, improve grammar. [tb]: {{< ref "/posts/2021-12-31-tiny-binaries.md" >}} "Tiny Binaries" @@ -370,3 +365,5 @@ If you enjoyed this post, you may also like: "My Own Private Binary" [docker]: https://en.wikipedia.org/wiki/Docker_(software) "Docker" +[eof]: https://en.wikipedia.org/wiki/End-of-file + "End of File" |