[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to hook into shared libraries (by chaining)
From: |
Christian Parpart |
Subject: |
Re: how to hook into shared libraries (by chaining) |
Date: |
Tue, 13 Feb 2007 16:55:00 +0100 |
User-agent: |
KMail/1.9.6 |
On Tuesday 13 February 2007 13:33:58 Ralf Wildenhues wrote:
> * Christian Parpart wrote on Tue, Feb 13, 2007 at 11:59:35AM CET:
> > I want to override some functions located in libGL.so and libX11.so, in
> > order to capture movies from (any) OpenGL application.
> >
> > There are now several ways to achieve this, but none of them seems to be
> > userfriendly *and* ideal (system/platform independant).
>
> The question is how portable you want to be. Only Gentoo? Only
> GNU/Linux? Only ELF systems? Only GNU binutils ld? Or also, say, w32,
> or AIX non-runtimelinking, or otherwise native non-GNU linker?
> Can we assume the libGL and libX11 all come from X.org?
> Is using a wrapper shell script acceptable for you?
> Is patching a binary (a la objcopy) acceptable for you?
Only gentoo would be really self-seeking and result into a quite a little user
base. But when it comes to the "only" point, I'd be happy with GNU/Linux
and/or ELF systems only.
I don't wanna blame systems like AIX to use .a instead of .so as shared object
extensions (iirc), but GNU/Linux is what most desktop end-users (/gamers) are
using below the roof of UNIX, so better stick with this one.
Thanks you,
Christian Parpart.
pgp3z1IlPsuvP.pgp
Description: PGP signature