diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-09-10 21:37:46 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-09-10 21:37:46 +0200 |
commit | f733c2c12bbe7b53271d1b488247a4d369f4cbcf (patch) | |
tree | 287521ca0478cdbb216cb475c3c0adced4e52ddd /Makefile | |
parent | c3a63f3e3c19225524b7ff7168a4385b44393318 (diff) | |
download | preload-libbt-f733c2c12bbe7b53271d1b488247a4d369f4cbcf.tar.gz preload-libbt-f733c2c12bbe7b53271d1b488247a4d369f4cbcf.zip |
resolve next fn ptr on call
Resolve pthread_create on call to function rather than from static
initializer as the wrapper may be called before the static initializers
of the shared library are executed.
Additionally implement dlsym(RTLD_NEXT) manually with dladdr1() and
walking the link map, as in the past I have received wrong function
pointers from dlsym, pointing to a library earlier in the link map.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions