cosmopolitan/test/libc/runtime
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
..
ape_test.c Write tests for new APE loader and fix bugs 2022-05-22 05:45:38 -07:00
arch_prctl_test.c Change license 2020-12-27 17:18:44 -08:00
clone_test.c Fix many thread and file descriptor issues on Windows 2022-05-20 20:57:19 -07:00
fork_test.c Make improvements 2022-04-28 09:57:07 -07:00
getdosargv_test.c Make improvements 2022-04-28 09:57:07 -07:00
getdosenviron_test.c Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
grow_test.c Make numerous improvements 2021-09-28 01:52:34 -07:00
itsatrap_test.c Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
memtrack_test.c Make some systemic improvements 2022-05-18 16:52:36 -07:00
mmap_test.c Make fixes and improvements 2022-05-19 16:57:49 -07:00
mprotect_test.c Make improvements 2022-04-24 10:06:05 -07:00
munmap_test.c Make fixes and improvements 2022-05-19 16:57:49 -07:00
test.mk Write tests for new APE loader and fix bugs 2022-05-22 05:45:38 -07:00