Skip to content
Snippets Groups Projects
Commit 069bc36f authored by Vivek Das Mohapatra's avatar Vivek Das Mohapatra
Browse files

Implement external dlopen wrapping

We need to intercept dlopen calls made by DSOs outside the capsule
so that we can update the GOTs of new DSOs as they appear (for
example when libSDL dlopen()s DSOs that use libGL's symbols but
don't link against it directly.

In order to do this we need to wrap dlopen(), but unlike dlsym()
(which we already wrap) we cannot do so unconditionally: To support
this we introduce a restricted relocate call which blacklists
certain DSOs.
parent 7e75c101
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment