mirror-llvm-project/libc/fuzzing
Daniel Thornburgh c3207c31fc
[libc] Use best-fit binary trie to make malloc logarithmic (#106259)
This reworks the free store implementation in libc's malloc to use a
dlmalloc-style binary trie of circularly linked FIFO free lists. This
data structure can be maintained in logarithmic time, but it still
permits a relatively small implementation compared to other
logarithmic-time ordered maps.

The implementation doesn't do the various bitwise tricks or
optimizations used in actual dlmalloc; it instead optimizes for
(relative) readability and minimum code size. Specific optimization can
be added as necessary given future profiling.
2024-11-20 13:54:00 -08:00
..
__support [libc] Use best-fit binary trie to make malloc logarithmic (#106259) 2024-11-20 13:54:00 -08:00
math [libc] math fuzzing MPFR include statement (#102358) 2024-08-07 21:12:40 +00:00
stdio [libc] Revert https://github.com/llvm/llvm-project/pull/83199 since it broke Fuchsia. (#83374) 2024-02-29 14:43:53 -05:00
stdlib [libc] heap_sort_fuzz deleted unnecessary includes (#101535) 2024-08-01 17:56:31 +00:00
string [libc] Add memcmp / bcmp fuzzers (#77741) 2024-01-11 11:06:46 +01:00
CMakeLists.txt [libc] created fuzz test for sin function (#101411) 2024-08-01 17:31:04 +00:00