Mis012
Mis012
a Windows 10 update fixed an issue on Windows 7...?
wtf? 0000 0400 0000 0000
so I have made a translation layer... xD https://gitlab.com/Mis012/android_translation_layer_PoC would you mind helping to hook your stuff into dalvik?
right now dalvik is willing to load the .so that the Java code wants, I am able to LD_PRELOAD a .so that implements the bionic functions that dlopen complains about,...
one issue is that I need to be able to load non-bionic libs as well, not sure if there is a foolproof way to determine whether a lib was linked...
hmm, I get the same issue calling bionic_dlopen with the "modified" library, guess I broke it? because it seems that it works fine with the original :) now onto patching...
I added the padding, obviously... `-_-`
I planned to do that after figuring out why it got stuck on the first entry (because it didn't relocate for some reason)
reee, it seems that bionic linking always fails when loading from PATH, and always succeeds when loading an exact file by name? even if it's actually a glibc library
looks like I've managed to get separate handling to somewhat work... now it complains about missing `android/opengl/GLSurfaceView$Renderer`, so I think I will be doing some API reimplementation now :P