Commit Graph

77 Commits

Author SHA1 Message Date
andrew bba733fd93 Remove strip command
This doesn't interact well with debug symbols and disassembly, and the
all the global symbols are correct.
2024-01-24 13:37:01 -08:00
andrew b5a06a8891 Move api symbols out of coverage for now 2024-01-24 13:18:55 -08:00
andrew df3b2b8696 Update corpus 2024-01-24 13:16:05 -08:00
andrew af71519526 Remove old implementation 2024-01-24 13:06:46 -08:00
andrew aa464573e4 Move debug code out of the "coverage matters" section 2024-01-24 13:04:30 -08:00
andrew a7db7711d4 Actually increment iter 2024-01-24 13:04:01 -08:00
andrew 9611345140 Fix off by one error 2024-01-24 13:03:28 -08:00
andrew c19a555fab Only explicitly compile shared lib with -fPIC 2024-01-24 11:33:14 -08:00
andrew 50314773ea Add some GCOVR annotations 2024-01-24 11:24:44 -08:00
andrew cf79328414 gcc fixes 2024-01-24 11:13:03 -08:00
andrew f0939e5c95 Reorganize cmake testing 2024-01-24 10:57:37 -08:00
andrew 77ce12e070 Add corpus of tests 2024-01-24 10:49:46 -08:00
andrew 3cb99ad441 Unbotch x86 simd implementations 2024-01-23 16:46:52 -08:00
andrew c775fccf6f SIMD tinkering 2024-01-23 15:56:57 -08:00
andrew 122cddb54d WIP - seems to work for point reads/writes 2024-01-23 15:32:45 -08:00
andrew 407b9af750 Implement point reads 2024-01-23 11:48:12 -08:00
andrew 3a720ca3ec Non-recursive insert 2024-01-23 10:41:20 -08:00
andrew d68bd52122 Remove redundant work 2024-01-23 10:29:33 -08:00
andrew 836766132f Debug print dot 2024-01-23 10:12:07 -08:00
andrew 5bec5b178d Fix memory leak 2024-01-23 10:11:51 -08:00
andrew f6e48cca0e Switch to radix tree. WIP 2024-01-22 16:27:35 -08:00
andrew 6a52dcc16e Remove [[maybe_unused]] now that there's no anon namespace 2024-01-22 15:52:05 -08:00
andrew 623b56db9d Check malloc returning null 2024-01-22 15:43:03 -08:00
andrew e1a12488dc Isolate treap-specific parts 2024-01-22 13:31:01 -08:00
andrew 5456475db6 Tidy up std::{set,vector} + arena 2024-01-22 13:22:52 -08:00
andrew bcc9195cdb Remove anon namespaces (not needed with visibility=hidden) 2024-01-22 13:15:09 -08:00
andrew be712796f2 Add include dir 2024-01-22 12:58:03 -08:00
andrew d782419d37 Reorganize cmake 2024-01-22 12:54:32 -08:00
andrew 387b04d7a3 Support c89 2024-01-22 11:48:59 -08:00
andrew b39979a471 Fixed signed integer overflow. Closes #1 2024-01-21 17:00:40 -08:00
andrew 16d46d3de6 We need 8 hex chars for 4 byte keys 2024-01-21 16:49:03 -08:00
andrew 5a3740a733 Fix includes 2024-01-21 14:31:52 -08:00
andrew 605d8c8715 Allow variable length keys in fuzz test 2024-01-21 14:30:40 -08:00
andrew 4459c3cb87 Improve comments and asserts 2024-01-21 14:30:09 -08:00
andrew 9855e64b6a Only strip release build 2024-01-21 14:29:39 -08:00
andrew 5e4a946bdb Fix libfuzzer detection and shared object symbols issues
Don't export __throw_length_error, and don't import abort
2024-01-19 18:18:40 -08:00
andrew b1e3ab2020 Update comment 2024-01-19 17:55:06 -08:00
andrew e6270c049b Provide means to seed rng 2024-01-19 17:49:11 -08:00
andrew 7ad68231a4 Make sure index into hex array is positive 2024-01-19 17:33:30 -08:00
andrew 9774a8af2b Make tree visualization more compact 2024-01-19 17:31:15 -08:00
andrew f76191cfca s/TreeSet/ConflictSet/ 2024-01-19 17:21:47 -08:00
andrew 8826d906ff Add TODO for fuzz test 2024-01-19 16:45:33 -08:00
andrew 2e6649db44 Check reads in fuzzer 2024-01-19 16:44:38 -08:00
andrew 4993462797 GC unused symbols 2024-01-19 16:04:19 -08:00
andrew 756f74c6de Add fuzz test 2024-01-19 15:48:07 -08:00
andrew a2a55c9717 Prepare for fuzzing 2024-01-19 14:50:36 -08:00
andrew ffa60c9b4f Add reference implementation 2024-01-19 14:29:10 -08:00
andrew a10b9ad5b0 Linux fixes. Don't support c89 for now
Because // comments are diagnosed and I can't be bothered
2024-01-18 21:48:38 -08:00
andrew 5d17675ad1 C89, C++98 api smoke tests 2024-01-18 20:43:29 -08:00
andrew 0f9a86d775 Make lib work as a c or c++ library 2024-01-18 18:37:48 -08:00