Start and end of the GOT
Joy Mukherjee
jmukherj@csgrad.cs.vt.edu
Fri Sep 14 17:33:00 GMT 2001
True, but %ebx just contains the start address of the GOT. How do I get
the END address ? or in other words , how do I get its size ? Thank again
for your help .
Joy
Joy Mukherjee
Graduate Student,
Deptt. of CS,
Virginia Tech,
Blacksburg,VA - 24061.
On 14 Sep 2001, Alexandre Oliva wrote:
> On Sep 13, 2001, Joy Mukherjee <jmukherj@csgrad.cs.vt.edu> wrote:
>
> > Thanks again for your help . I do want to do it at runtime . I am
> > working on Red Hat Linux (glibc), intel x86
>
> AFAIK, all you have to do is to get the value of ebx in a function
> compiled with -fPIC.
>
> --
> Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist *Please* write to mailing lists, not to me
>
>
More information about the Gcc
mailing list