NeonatoX/neonatox-rldispatcher ? reverse-engineered prompt
Reverse engineered prompt
Build me this tool that acts like a fake dynamic linker for musl systems, so I can run normal glibc apps without mixing the two libcs in the same process.
I want a small C project that installs as /lib64/ld-linux-x86-64.so.2, runs only on x86-64, and uses a real isolated glibc under /usr/lib/glibc6/ to launch apps cleanly. It should stay quiet by default, send diagnostics to stderr, and support a help screen plus verbose and quiet modes when run directly. It also needs to handle AppImage type 2 apps, find libraries inside the sysroot, deal with missing sonames by searching extra subfolders, and use a preload proxy to fix readlink("/proc/self/exe") and keep things working under musl. Please include the config file templates, profile script, install steps, and a solid end to end test setup. If you need to check any current build or AppImage details online, go ahead and look them up.
Are you gonna build this?
make sure you review the code using coderabbit