which a function that when first called overwrites it's plt entry with new address. Subsequent calls jump directly at the target function in the android library.
Qt is saving a pointer to this function, before it is ever called. Might be a problem, /me goes to learn about PLT entries
Digging into hybris, glGenTextures is generated by
#define GLES2_IDLOAD(sym) \ function" ); \ dlsym(_ libglesv2, #sym); \
__asm__ (".type " #sym ", %gnu_indirect_
typeof(sym) * sym ## _dispatch (void) __asm__ (#sym);\
typeof(sym) * sym ## _dispatch (void) \
{ \
return (void *) android_
}
which a function that when first called overwrites it's plt entry with new address. Subsequent calls jump directly at the target function in the android library.
Qt is saving a pointer to this function, before it is ever called. Might be a problem, /me goes to learn about PLT entries