Assignment of the .rel.dyn Section in Android ELF System Libraries

I am trying to process a section of .rel.pltsome Android system libraries, and I can find the address of functions quite easily.

However, I'm not sure what to do from the section entries .rel.dyn. Does this section also contain functions? The table .got.pltpresent in the X86 libraries is not in the Android ARM libraries. Not sure if this is necessary.

The Android linker code mentions that system libraries are pre-linked and loaded at fixed addresses. How it works when processing partitions .rel.pltand .rel.dyn.

The broader question is about understanding Android system libraries on ARM and sections .rel.dyn, rel.pltand .got.pltwith the added problem of pre-insertion.

+5
source share
1 answer

I think this project will help you. https://github.com/shoumikhin/ELF-Hook this guy just made the method registered here http://www.codeproject.com/Articles/70302/Redirecting-functions-in-shared-ELF-libraries works on the platform ARM Android

0
source

All Articles