Repository navigation
strdup and strndup are gone from derived.c: they were the archive's only reference outward, malloc, and the archive is one object, so a C library that takes it for its string functions linked the allocator into every program, the startup's memcpy was enough. In ix that brought tcmalloc and libc++abi with their thread-locals, and a Go program linked externally without cgo, which sets FS itself and expects its g alone at FS-8, trapped at its first instruction. The archive now takes no name from outside; the C library keeps its own strdup and strndup, made of strlen and memcpy.
The two functions sat at the end of .text: every other function keeps its address and its bytes, but the three after them (two_way, memmem, strstr). Their specs and malloc's contract left the prover with them.
Validation: cut in a hurry for an ix rebuild; the C test, the coverage gate and the proof chain's replay on this code follow.