Lookup dynamically linked global variables.
authornorly <ny-git@enpas.org>
Thu, 27 Jun 2013 00:00:17 +0000 (01:00 +0100)
committernorly <ny-git@enpas.org>
Thu, 27 Jun 2013 00:02:36 +0000 (01:02 +0100)
commit1ca19c5484ee0f18a3701b3f98ac8ca43df8b505
treeb3bb07d167dd9c194469669f56efcb4df496bc9d
parentbac3bc42ef0133a7dda0870c4e1f37e5651feb99
Lookup dynamically linked global variables.

This works ONLY in position-dependent executables.

Processing position-independent code includes generating and inserting
code that finds out the current instruction address. That's beyond the
scope of editing normal executables, which are usually
position-dependent unless requested otherwise.
include/libelfu/modelops.h
src/libelfu/modelops/dynlookup.c
src/libelfu/modelops/relocate.c