B-Howell and Claude Opus 4.7
b04c2f2e09
feat(libc): implement lfind and lsearch
...
Add FreeBSD/POSIX lfind and lsearch for the libc PRX, with explicit
guards against null arguments, zero element size, and span arithmetic
that would overflow size_t. lsearch validates the existing search
range before any comparator call, then separately checks the append
capacity so a matched element never requires room for an extra one.
Extend guest_search to cover first-match on duplicate keys, zero-count
no-op, byte-exact appended payload, zero-count seed, and that the
overflow guard fires without touching element memory or invoking the
callback. Document the exports in docs/dev/debt/libc.md.
Co-Authored-By: Claude Opus 4.7 <[email protected] >
2026-10-26 19:02:23 -04:00
..
2026-10-26 19:02:23 -04:00
2026-10-27 11:06:13 +13:00
2026-10-27 11:04:12 +13:00
2026-10-25 14:16:45 +01:00
2026-10-27 05:47:26 +13:00
2026-10-27 08:18:22 +13:00
2026-10-27 10:57:52 +13:00
2026-10-25 18:10:39 +01:00
2026-10-26 16:17:50 +01:00
2026-10-27 09:16:48 +13:00
2026-10-25 12:53:43 +00:00
2026-10-26 19:49:12 +01:00
2026-10-26 10:59:59 +00:00
2026-10-25 14:16:45 +01:00
2026-10-25 12:53:43 +00:00
2026-10-25 12:53:43 +00:00
2026-10-26 14:35:14 +01:00
2026-10-26 22:18:09 +01:00
2026-10-25 19:44:44 +01:00
2026-10-26 03:21:51 +00:00
2026-10-25 23:43:52 +00:00
2026-10-25 14:16:45 +01:00
2026-10-26 16:17:50 +01:00
2026-10-26 06:09:52 +13:00
2026-10-26 20:10:35 +01:00
2026-10-26 10:25:20 +13:00
2026-10-25 19:28:38 +02:00
2026-10-26 16:44:29 +01:00
2026-10-26 13:34:58 +01:00
2026-10-25 23:08:02 +01:00
2026-10-25 13:57:18 +01:00
2026-10-27 10:57:14 +13:00
2026-10-26 20:17:36 +01:00
2026-10-27 11:05:08 +13:00
2026-10-26 16:09:37 +01:00
2026-10-27 10:55:08 +13:00
2026-10-27 10:28:47 +13:00
2026-10-26 06:19:12 +00:00
2026-10-25 16:00:59 -07:00
2026-10-25 13:07:35 +02:00
2026-10-26 17:29:50 +01:00
2026-10-25 17:24:43 +01:00
2026-10-26 12:20:03 +01:00
2026-10-25 13:05:49 +02:00
2026-10-25 17:24:43 +01:00
2026-10-27 00:58:28 +13:00
2026-10-25 17:40:59 +01:00
2026-10-26 15:19:42 +01:00
2026-10-25 14:16:45 +01:00
2026-10-26 14:17:59 +13:00
2026-10-27 09:13:12 +13:00
2026-10-26 00:58:27 +05:30
2026-10-26 04:34:43 +05:30
2026-10-27 09:23:29 +13:00
2026-10-26 00:25:54 +08:00
2026-10-26 15:06:16 +01:00
2026-10-25 14:16:52 +01:00
2026-10-25 13:07:35 +02:00
2026-10-25 17:52:10 +01:00
2026-10-26 11:30:18 -03:00
2026-10-26 22:22:34 +08:00
2026-10-26 22:06:56 +08:00
2026-10-26 16:12:19 +01:00
2026-10-27 10:56:04 +13:00
2026-10-26 03:06:04 -03:00
2026-10-25 17:28:05 +01:00
2026-10-25 14:16:45 +01:00
2026-10-25 09:38:49 +00:00
2026-10-26 16:17:50 +01:00
2026-10-27 10:58:17 +13:00
2026-10-26 21:58:24 +13:00