C utility functions for OpenWrt (mirror)

Felix Fietkau d27acfe416 udebug: add more checks for uninitialized buffers 11 月之前
examples 13d9b04fb0 uloop: add support for user defined signal handlers 1 年之前
lua 13d9b04fb0 uloop: add support for user defined signal handlers 1 年之前
sh 6fc29d1c42 jshn.sh: Add pretty-printing to json_dump 1 年之前
tests a0dbcf8b8f tests: add blob-buffer overflow test 3 年之前
.gitignore 5326ce1046 examples: add shunit2 tests for json_script 8 年之前
.gitlab-ci.yml b0a5cd8a28 add cram based unit tests 5 年之前
CMakeLists.txt e80dc00ee9 link librt if needed for shm_open 11 月之前
assert.h 8baeeea1f5 add assert.h component 5 年之前
avl-cmp.c 72613ca2c8 avl: add blob comparator function 8 年之前
avl-cmp.h 72613ca2c8 avl: add blob comparator function 8 年之前
avl.c 9b6ede0e53 avl: guard against theoretical null pointer dereference 5 年之前
avl.h ace64897d4 switch from typeof to the more portable __typeof__ 6 年之前
base64.c 0003ea9c45 base64: fix possible null pointer dereference 5 年之前
blob.c f2d6752901 blob: clear buf->head when freeing a buffer 2 年之前
blob.h 143303149c Ensure blob_attr length check does not perform out of bounds reads 4 年之前
blobmsg.c cfa372ff8a blobmsg: implicitly reserve space for 0-terminator in string buf alloc 2 年之前
blobmsg.h eac92a4d5d blobmsg: add blobmsg_parse_array_attr 1 年之前
blobmsg_json.c 5893cf78da blobmsg: Don't do at run-time what can be done at compile-time 1 年之前
blobmsg_json.h d3fa561e5a blobmsg_json: add new functions blobmsg_format_json_value* 8 年之前
jshn.c a2aab30fc9 jshn: prefer snprintf usage 4 年之前
json_script.c cfa372ff8a blobmsg: implicitly reserve space for 0-terminator in string buf alloc 2 年之前
json_script.h 3d45c47752 json_script: add support for aborting script processing 9 年之前
kvlist.c 1f019ceea1 Fix various memory management issues 8 年之前
kvlist.h d0312bd9b1 kvlist: add static initializer macros 8 年之前
list.h 45210ce141 list.h: add container_of_safe macro 2 年之前
md5.c 7237302147 md5: add "const" qualifier to the "file" argument 7 年之前
md5.h 7237302147 md5: add "const" qualifier to the "file" argument 7 年之前
runqueue.c 89fb6136ad libubox: runqueue: fix use-after-free bug 4 年之前
runqueue.h 89fb6136ad libubox: runqueue: fix use-after-free bug 4 年之前
safe_list.c bc8167eb99 runqueue: add a function that allows adding jobs to the front of the runqueue 11 年之前
safe_list.h bc8167eb99 runqueue: add a function that allows adding jobs to the front of the runqueue 11 年之前
udebug-priv.h 40acbe3463 udebug: wait for response after buffer add/remove 11 月之前
udebug-proto.h d4c3066e7c udebug: add udebug library code 11 月之前
udebug-remote.c 40acbe3463 udebug: wait for response after buffer add/remove 11 月之前
udebug.c d27acfe416 udebug: add more checks for uninitialized buffers 11 月之前
udebug.h e84c000c47 udebug: add inline helper function to test if a buffer is allocated 11 月之前
ulog.c 260ad5bd15 udebug: add ulog support 11 月之前
ulog.h 260ad5bd15 udebug: add ulog support 11 月之前
uloop-epoll.c b77f2a4ce9 uloop: fix build using C++ compilers 11 月之前
uloop-kqueue.c b77f2a4ce9 uloop: fix build using C++ compilers 11 月之前
uloop.c b3fa3d92e3 uloop: reset flags after __uloop_fd_delete call 11 月之前
uloop.h b77f2a4ce9 uloop: fix build using C++ compilers 11 月之前
usock.c ef5e8e38bd usock: fix poll return code check 1 年之前
usock.h 0c2fbbca80 usock: implement usock_inet_timeout() with RFC6555 support 8 年之前
ustream-fd.c bc7e277276 ustream-fd: handle ENOTCONN for read/write on not-yet-connected sockets 8 年之前
ustream.c 1f019ceea1 Fix various memory management issues 8 年之前
ustream.h ecf56174da ustream: Add format string checks to ustream_(v)printf() 5 年之前
utils.c 5bc0146a1d utils: simplify mkdir_p boolean conditions 3 年之前
utils.h b8abed7494 utils.h: add fallthrough macro 3 年之前
vlist.c e9fb256ca5 vlist: constify key argument to vlist_add 11 年之前
vlist.h cce5e35127 vlist: define vlist_for_each_element_safe 3 年之前