]> git.cworth.org Git - fips/commit
Add wrappers for dlopen, dlsym, and glXGetProcAddressARB
authorCarl Worth <cworth@cworth.org>
Wed, 24 Apr 2013 07:58:26 +0000 (00:58 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 24 Apr 2013 07:58:26 +0000 (00:58 -0700)
commit44b4f7ecdfb8c538aa7616d2ea718f7465446388
treeba9f71dd9734e64e6fe3ce17bcc82575a83efe6b
parent802014dde0c3b25a48a4c6e5b09d20f52fb94324
Add wrappers for dlopen, dlsym, and glXGetProcAddressARB

This allows for many applications to start working with fips that would not
work before. Specifically, applications that dlopen libGL.so.1 instead of
directly linking with it would previously bypass fips' attempts to wrap
GL calls.

With these new wrappers carefully in place, many applications now work.

I've verified the following applications at least:

apitrace replay
NightSkyHD, a Humble Bundle game, both 32 and 64-bit versions
World of Goo, via Steam

I was also happy to notice that the Steam overlay does not cause fips
any difficulties.
Makefile.local
dlwrap.c [new file with mode: 0644]
dlwrap.h [new file with mode: 0644]
glxwrap.c
libfips.sym