Skip to content

ELF shared library import table patching for function redirection.

Notifications You must be signed in to change notification settings

wisd0me/ELF-Hook

 
 

Repository files navigation

Bugfixes of this fork:

  1. If the dso doesn't have the .got.plt section, there was a crash because of no write permission to a memory page (according to valgrind). I faced this issue with libmysqlclient (version is 5.5.37-0ubuntu0.12.04.1, but I think every one is like this) on ubuntu precise x86_64; it's strange that i386 version is allright. The main reason for this is unknown.

  2. If the dso doesn't have the .got section, there was a crash. I faced this with the library that was compiled with "-nostartfiles -fPIC" on x86 32bit. The reason for this is unknown either.

Investigations for this bugs are welcome!

About

Method of patching the import table in ELF shared libraries. Read more info at CodeProject (http://www.codeproject.com/KB/library/elf-redirect.aspx).

About

ELF shared library import table patching for function redirection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 91.6%
  • Shell 5.6%
  • Makefile 2.8%