aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-09-10 21:37:46 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-09-10 21:37:46 +0200
commitf733c2c12bbe7b53271d1b488247a4d369f4cbcf (patch)
tree287521ca0478cdbb216cb475c3c0adced4e52ddd /Makefile
parentc3a63f3e3c19225524b7ff7168a4385b44393318 (diff)
downloadpreload-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