Most of these methods and ideas turned out to not work, neither in messy C libraries, nor in C++ or other languages.