android function in so dynamic access issues

Since the binary function is being pulverized, if I want to get libart.so in OpenMemory function (see the source code), so we can find.

nm -a '/home/haidragon/Desktop/android-5.1.1_r1/out/target/product/hammerhead/obj/lib/libart.so'  | grep "OpenMemory"

android function in so dynamic access issues
And then find the corresponding OpenMemory (because of overloaded functions)

c++filt _ZN3art7DexFile10OpenMemoryEPKhjRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEjPNS_6MemMapEPKNS_7OatFileEPS9_

android function in so dynamic access issues
Get on the line with dlsym.

Guess you like

Origin blog.51cto.com/haidragon/2413866