1003 Commits (d03a732c81522870e238f8d55be4ee1f8b294501)
 

Author SHA1 Message Date
leitner d03a732c81 add sanitizers to unit test runs
remove unnecessary stdlib.h include in json.c
9 months ago
leitner 1644367743 add unit tests, make code more obvious 10 months ago
leitner 0d788fb946 get rid of gcc compiler warning 10 months ago
leitner 365cfb10c5 silence compiler warning 10 months ago
leitner 1f113d5623 remove unaligned memory access behind #ifdef i386 from uint*.h (compilers are now smart enough so they are no longer needed and they were technically undefined behavior so the sanitizer complained) 10 months ago
leitner 0dbac6ba02 remove unaligned write for #ifdef i386 (it was technically undefined
behavior and the compiler is now smart enough to turn the more elaborate
code into a single store)
10 months ago
leitner a71f28fe6c silence C23 warning 10 months ago
leitner b375c53c7d get rid of undefined behavior regarding order of evaluation 1 year ago
leitner cee447066f get rid of undefined behavior regarding -INT_MAX 1 year ago
leitner 90529e9952 reduce compiler warnings during unit tests 1 year ago
leitner 80328bccf9 return early 1 year ago
leitner b4ba06aee4 add C++ convenience overloads to uint*.h 1 year ago
leitner 5b6e6a0671 be more explicit about size requirement 2 years ago
leitner 444c36f3e8 silence clang static analyzer 2 years ago
leitner 4422ec3770 gcc 13 -fanalyze run with fixes / comments about false positives 2 years ago
leitner e98c1c426f don't need fmt.h 2 years ago
leitner 3992fa9f6b make clean also removes json binary 2 years ago
leitner 2a5c8dc352 auto-generate compile_commands.json for clangd / vim ale
remove Makefile generation rules when generating Makefile
make sure compile_commands.json can generate with Makefile too, not just with GNUmakefile
2 years ago
leitner ee44f1a430 #define _POSIX_C_SOURCE 200809L 2 years ago
leitner 6d74052760 also be more c99 compliant on non-linux platforms :-) 2 years ago
leitner ec3d2bfe6c change a few // comments back to /* */ for older compilers 2 years ago
leitner dbca5e9d5a be more C99 compliant (Florian Weimer) 2 years ago
leitner ffdcdffcc0 next attempt to automate the dependency pain away: make updatedeps 2 years ago
leitner f621834f84 mcfgthread renamed their include file 2 years ago
leitner 154bc69e7a update entities.json
fix build fails (never happened to me because I have the headers installed system-wide)
2 years ago
leitner 0c12716977 version bump 2 years ago
leitner f2a990d28e add iob_write2 with sendfile callback so caller can use OpenSSL's SSL_sendfile 2 years ago
leitner 00bc4e4a5d add iob_write2 which takes an additional sendfile callback 2 years ago
leitner 7b4391d263 explicitly give main's return type 2 years ago
leitner 58283caf58 catch "can't happen" int overflow in stralloc_catm_interal
add comment in stralloc_ready
2 years ago
leitner ea0c6b8168 add seccomp notice 3 years ago
leitner fe1cb50ec1 remove unused local var 3 years ago
leitner 1564beb8a3 change io_eagain to io_eagain_wite 3 years ago
leitner ebec6ee140 add sandboxing hints 3 years ago
leitner 885ffac7d8 remove unused label 3 years ago
leitner d93ddc33b8 fix buffer overread for len=0 in scan_longn (Martin Castillo) 3 years ago
leitner e0ebf1e57e forgot to add man page 3 years ago
leitner 276cd8ef9e what if the left-over from writev does not fit into the buffer? 3 years ago
leitner de672180ac don't disturb glibc with __deprecated__ 3 years ago
leitner fc223dc725 recent kernel return POLLERR and then calling read returns EGAIN which
leads to busy loop. Try to work around.
3 years ago
leitner c9e9ecfb6a add bytestream man page 3 years ago
leitner 46cd715bbf explain a bit what we are trying to do here 3 years ago
leitner 0556994916 try to prevent ARM from reordering writes in hardware 3 years ago
leitner 32f02d34fc remove stray l (Rolf Eike Baer) 3 years ago
leitner 1217583e2b now that gcc 11's static analyzer looks at array bounds in arguments
like "char ip[4]", let's be more strict about that
4 years ago
leitner 07c3f0bf3d some crude attempt to fix mingw cross build 4 years ago
leitner 853242b078 next attempt (I need a bsd shell) 4 years ago
leitner efb1a8a2ae kqueue path assumed EVFILT_READ and EVFILT_WRITE are bits that can be used with | and ~ and &
they aren't
4 years ago
leitner 2788b18f32 provide prototype 4 years ago
leitner cef53a5907 try too fix erdgeist's bug 4 years ago