mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-12 03:21:08 +00:00
libfakeinput.so links libstdc++ and libgcc statically and is preloaded into every session process, so it exported the whole C++ runtime (~7000 symbols, __gxx_personality_v0 and __cxa_* among them). Programs then unwound through its copy: shadPS4 aborted in pthread_exit the first time a game thread ended (forced unwind -> foreign personality -> terminate). Link with --exclude-libs,ALL so only the input hooks are exported, fail the build if the runtime leaks out again, and bump the preload cache so it is rebuilt.