cosmopolitan/bin
Justine Tunney a033b65a33
Fix apelink shell script corruption bug
We were using a shell heredoc value '@' to terminate the dos stub, but
that's not sufficiently safe. We found out sh doesn't consider control
characters as contributing to the start of a line, and had the unlucky
chance of the linker choosing the number 2624 for e_lfanew, and that's
"@\n" in ASCII, which compromised the APE shell script.

We now use the heredoc 'justineXXXXXX' with 31 bits of entropy, that's
determistically generated by hashing apelink inputs w/ crc32 / blake2b
2023-08-13 17:42:11 -07:00
..
aarch64-unknown-cosmo-addr2line Make cosmocc capable of cross compilation 2023-08-13 14:40:22 -07:00
aarch64-unknown-cosmo-apecopy Make cosmocc capable of cross compilation 2023-08-13 14:40:22 -07:00
aarch64-unknown-cosmo-ar Make cosmocc capable of cross compilation 2023-08-13 14:40:22 -07:00
aarch64-unknown-cosmo-as Make cosmocc capable of cross compilation 2023-08-13 14:40:22 -07:00
aarch64-unknown-cosmo-c++ Make cosmocc capable of cross compilation 2023-08-13 14:40:22 -07:00
aarch64-unknown-cosmo-cc Make cosmocc capable of cross compilation 2023-08-13 14:40:22 -07:00
aarch64-unknown-cosmo-objcopy Make cosmocc capable of cross compilation 2023-08-13 14:40:22 -07:00
aarch64-unknown-cosmo-objdump Make cosmocc capable of cross compilation 2023-08-13 14:40:22 -07:00
aarch64-unknown-cosmo-strip Make cosmocc capable of cross compilation 2023-08-13 14:40:22 -07:00
ape-install Introduce new fatcosmocc command 2023-08-11 22:52:11 -07:00
ape-uninstall Introduce new fatcosmocc command 2023-08-11 22:52:11 -07:00
apecopy Perform some more touchups to toolchain 2023-08-13 15:03:09 -07:00
cosmoc++ Introduce new fatcosmocc command 2023-08-11 22:52:11 -07:00
cosmocc Perform some more touchups to toolchain 2023-08-13 15:03:09 -07:00
fatcosmoar Make cosmocc capable of cross compilation 2023-08-13 14:40:22 -07:00
fatcosmoc++ Introduce new fatcosmocc command 2023-08-11 22:52:11 -07:00
fatcosmocc Fix apelink shell script corruption bug 2023-08-13 17:42:11 -07:00
fatcosmoinstall Further improve fatcosmocc 2023-08-13 01:51:39 -07:00
unknown-unknown-cosmo-ar Make fatcosmocc good enough to build Lua 5.4.6 2023-08-12 16:44:04 -07:00
unknown-unknown-cosmo-c++ Introduce new fatcosmocc command 2023-08-11 22:52:11 -07:00
unknown-unknown-cosmo-cc Introduce new fatcosmocc command 2023-08-11 22:52:11 -07:00
unknown-unknown-cosmo-install Make cosmocc capable of cross compilation 2023-08-13 14:40:22 -07:00
x86_64-unknown-cosmo-addr2line Perform some more touchups to toolchain 2023-08-13 15:03:09 -07:00
x86_64-unknown-cosmo-apecopy Make cosmocc capable of cross compilation 2023-08-13 14:40:22 -07:00
x86_64-unknown-cosmo-ar Perform some more touchups to toolchain 2023-08-13 15:03:09 -07:00
x86_64-unknown-cosmo-as Perform some more touchups to toolchain 2023-08-13 15:03:09 -07:00
x86_64-unknown-cosmo-c++ Introduce new fatcosmocc command 2023-08-11 22:52:11 -07:00
x86_64-unknown-cosmo-cc Introduce new fatcosmocc command 2023-08-11 22:52:11 -07:00
x86_64-unknown-cosmo-objcopy Perform some more touchups to toolchain 2023-08-13 15:03:09 -07:00
x86_64-unknown-cosmo-objdump Perform some more touchups to toolchain 2023-08-13 15:03:09 -07:00
x86_64-unknown-cosmo-strip Perform some more touchups to toolchain 2023-08-13 15:03:09 -07:00