kubo / injector

Library for injecting a shared library into a Linux or Windows process
GNU General Public License v2.0
504 stars 97 forks source link

injector_uninject should fail when the libc is musl. #26

Closed kubo closed 9 months ago

kubo commented 2 years ago

injector_uninject succeeds even though it doesn't unload libraries when the libc is musl. That's because musl's dlclose is a no-op. See https://wiki.musl-libc.org/functional-differences-from-glibc.html#Unloading_libraries

kubo commented 9 months ago

Closed by https://github.com/kubo/injector/commit/bdd5e7adb5c1ad9e0fcd95000669113001e26323.