cosmopolitan/libc/log
Justine Tunney 6ffed14b9c
Rewrite memory manager
Actually Portable Executable now supports Android. Cosmo's old mmap code
required a 47 bit address space. The new implementation is very agnostic
and supports both smaller address spaces (e.g. embedded) and even modern
56-bit PML5T paging for x86 which finally came true on Zen4 Threadripper

Cosmopolitan no longer requires UNIX systems to observe the Windows 64kb
granularity; i.e. sysconf(_SC_PAGE_SIZE) will now report the host native
page size. This fixes a longstanding POSIX conformance issue, concerning
file mappings that overlap the end of file. Other aspects of conformance
have been improved too, such as the subtleties of address assignment and
and the various subtleties surrounding MAP_FIXED and MAP_FIXED_NOREPLACE

On Windows, mappings larger than 100 megabytes won't be broken down into
thousands of independent 64kb mappings. Support for MAP_STACK is removed
by this change; please use NewCosmoStack() instead.

Stack overflow avoidance is now being implemented using the POSIX thread
APIs. Please use GetStackBottom() and GetStackAddr(), instead of the old
error-prone GetStackAddr() and HaveStackMemory() APIs which are removed.
2024-06-22 05:45:11 -07:00
..
addr2linepath.c Improve crash backtrace reliability 2024-05-07 18:10:28 -07:00
appendresourcereport.c Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
appendresourcereport.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
attachdebugger.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
backtrace.internal.h Rewrite memory manager 2024-06-22 05:45:11 -07:00
backtrace2.c Improve backtraces 2024-05-30 15:23:11 -07:00
backtrace3.c Document __demangle() and fix a const func ptr bug 2024-06-02 04:15:48 -07:00
bsd.h Reduce header complexity 2023-11-28 14:39:42 -08:00
BUILD.mk Implement proper time zone support 2024-05-04 23:06:37 -07:00
check.h Rerun clang-format on the repo (#1217) 2024-06-15 16:34:48 -04:00
checkaligned.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
checkfail.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
checkfail_ndebug.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
color.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
commandvenv.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
countbranch.h Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
countbranch_data.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
countbranch_report.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
countexpr.h Reduce header complexity 2023-11-28 14:39:42 -08:00
countexpr_data.S Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
countexpr_report.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
cxaprintexits.c Rename _bsr/_bsf to bsr/bsf 2024-03-04 17:33:26 -08:00
die.c Make improvements 2024-02-12 10:23:00 -08:00
err.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
flogf.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
gdb.h Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
gdbexec.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
gdbpath.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
gdbsync.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getcallername.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getcallername.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
internal.h Favor siginfo_t over struct siginfo 2024-05-28 02:34:17 -07:00
leaks.c Rewrite memory manager 2024-06-22 05:45:11 -07:00
libfatal.internal.h Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
log.h Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
log_exit.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
log_get_errno.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
log_retrace.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
log_set_errno.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
log_untrace.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
logerrno.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
logfile.c Fix regression in logger functions 2024-02-22 14:08:20 -08:00
loglevel.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
meminfo.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
memsummary.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
minicrash.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
oncrash_amd64.c Rewrite memory manager 2024-06-22 05:45:11 -07:00
oncrash_arm64.c Rewrite memory manager 2024-06-22 05:45:11 -07:00
printwindowsmemory.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
rop.internal.h Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
showcrashreports.c Make crash reports reliable in multithreaded case 2024-05-24 11:44:44 -07:00
showcrashreportsearly.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
startfatal.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
traceme.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
traceme.h Reduce header complexity 2023-11-28 14:39:42 -08:00
vflogf.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
watch-hook.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
watch.c Run clang-format (#1197) 2024-06-01 16:30:43 -04:00