cosmopolitan/libc/mem
Justine Tunney 19c81863a3
Improve crash backtrace reliability
We're now able to pretty print a C++ backtrace upon crashing in pretty
much any runtime execution scenario. The default pledge sandbox policy
on Linux is now to return EPERM. If you call pledge and have debugging
functions linked (e.g. GetSymbolTable) then the symbol table shall get
loaded before any security policy is put in place. This change updates
build/bootstrap/fixupobj too and fixes some other sneaky build errors.
2024-05-07 18:10:28 -07:00
..
_gc_free.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
alg.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
aligned_alloc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
alloca.h Remove some dead code 2023-07-03 02:48:29 -07:00
arraylist.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
arraylist2.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
bisect.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
bsearch.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
bsearch_r.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
BUILD.mk Introduce libc/mem/tinymalloc.inc 2024-05-07 03:19:49 -07:00
bulk_free.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
calloc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
critbit0.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
critbit0_allprefixed.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
critbit0_clear.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
critbit0_contains.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
critbit0_delete.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
critbit0_emplace.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
critbit0_get.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
critbit0_insert.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
free.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
gc.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
gc.h Make cosmo.h work a little better 2024-02-21 16:40:09 -08:00
heapsort.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
hook.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
hook_realloc_in_place.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
internal.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
mallinfo.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
malloc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
malloc_inspect_all.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
malloc_trim.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
malloc_usable_size.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mallopt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mem.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
memalign.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mergesort.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
opensort.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
posix_memalign.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
putenv.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pvalloc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
qsort.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
radix_sort_int32.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
radix_sort_int64.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
realloc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
reallocarray.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
realpath.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
reverse.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
setenv.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
shuffle.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
sortedints.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sortedints.internal.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
strdup.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strndup.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
tinymalloc.inc Improve crash backtrace reliability 2024-05-07 18:10:28 -07:00
valloc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcsdup.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00