cosmopolitan/test/libc
Justine Tunney 4e9662cbc7 Write tests for new APE loader and fix bugs
- Add FreeBSD-specific mmap() flags
- Reduce size of the APE loader from 8kb to 4kb
- Work towards fixing the Makefile build on WSL
- Automate testing of APE no-modify-self behaviors
- Make the ape.S shell script code cleaner and tinier
- Improve the APE sanity check to test behavior better
- Fixed issue with ShowCrashReports() sigaltstack() on BSDs
- Delete symbols for S_MODE magnums which wasted compile time

If you checked out yesterday's APE commit, please run:

    rm -f /usr/bin/ape o/tmp/ape /tmp/ape "${TMPDIR:-/tmp}/ape"

Because this change fixes certain aspects of the new ABI. We don't have
automated migrations for APE loader versions yet. Thanks! You can also
download prebuilt binaries here:

- https://justine.lol/ape.elf    (Linux/FreeBSD/NetBSD/OpenBSD)
- https://justine.lol/ape.macho  (Apple)

Install the appropriate one as `/usr/bin/ape`.
2022-05-22 05:45:38 -07:00
..
alg Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
bits Add maxmind demo to redbean-demo.com 2022-03-18 15:31:54 -07:00
calls Support Linux binfmt_misc and APE loading on Apple 2022-05-21 09:28:25 -07:00
dns Improve memory safety 2021-10-13 17:27:13 -07:00
fmt Make some systemic improvements 2022-05-18 16:52:36 -07:00
intrin Make some systemic improvements 2022-05-18 16:52:36 -07:00
log Make fixes and improvements 2022-05-19 16:57:49 -07:00
mem Make improvements 2022-04-28 09:57:07 -07:00
nexgen32e Fix more things 2022-03-24 00:12:29 -07:00
rand Make fixes and improvements 2022-05-19 16:57:49 -07:00
release Write tests for new APE loader and fix bugs 2022-05-22 05:45:38 -07:00
runtime Write tests for new APE loader and fix bugs 2022-05-22 05:45:38 -07:00
sock Improve synchronization 2022-04-15 15:31:55 -07:00
stdio Add zlib gzip functions 2022-05-12 12:17:40 -07:00
str Support Linux binfmt_misc and APE loading on Apple 2022-05-21 09:28:25 -07:00
thread Get threads working on all platforms 2022-05-13 03:59:09 -07:00
time Revert "Use 64-bit years" 2022-05-12 06:45:36 -07:00
tinymath Fix some more reported issues 2022-04-28 20:36:33 -07:00
unicode Make numerous improvements 2021-09-28 01:52:34 -07:00
x Fix bugs and make improvements 2022-04-20 10:05:34 -07:00
xed Improve signals and memory protection 2022-04-12 22:11:00 -07:00
test.mk Fix bugs and make improvements 2022-04-20 10:05:34 -07:00