rust-teeny-nostd: compare with asm

This commit is contained in:
2026-06-16 23:44:41 +02:00
parent aabd7b9d84
commit d2a5ce6e30
3 changed files with 76 additions and 2 deletions
+1 -1
View File
@@ -5,4 +5,4 @@ PoC's showing how rust can do stuff people often critiquize it about.
# Members
- `rust-teeny`: A rust std binary only **8.0 KiB** big, achieves so by `abort()`ing instead of having graceful error logging, panics shouldn't have any source information nor should there be `Debug` implementations, no debug symbols and any potential path reference to `$PWD` is renamed. It carries a shellcode payload loaded into memory and executed from memory.
- `rust-teeny-nostd`: Same as avobe but `no_std`, **4.1 KiB**.
- `rust-teeny-nostd`: Same as avobe but `no_std`, **4.1 KiB**. Can't even get raw assembly as small, rust wins by 16 Bytes, `.text` is the same size but rust beats with dynamic table sections and such.