shoumikhin/ELF-Hook — pull request #1 by laanwj (2012-10-30 15:22:54+00:00)
Title: Portable way to determine module base address

This makes hooking work on Android (with bionic libc). Unlike glibc, bionic returns an opaque pointer that is not equal to the module base address, so the current hack resulted in a segmentation fault.