Show HN: Chlibc – A ptrace-based tool to hot-swap glibc and interp in user-space
Category: devtools
Tags: linux, dynamic-linking, ptrace, glibc, compatibility
Score: 7.3/10 (Innovation: 8, Technical: 8, Documentation: 7, Utility: 6)
Chlibc is a ptrace-based Linux tool that enables hot-swapping of glibc and the dynamic linker (PT_INTERP) for any dynamically linked program at runtime. It's interesting because it solves library compatibility issues without containers, binary patching, or LD_* environment hacks, using clever low-level process tracing.
Target audience: backend devs, devops, system programmers
Repository: https://github.com/gzm55/chlibc · C · MIT
View on Hacker News