frida-java-bridge
frida-java-bridge copied to clipboard
android: alternative offset to ExceptionClear in libart (https://github.com/frida/frida/issues/2958)(https://github.com/frida/frida-java-bridge/issues/336)
In the latest libart versions (35xxxxxxx) the offset in the vtable of venv for ExceptionClear is not valid anymore. I added a check through an heuristic to detect if the found function is the correct one or if the new offset is needed.
The commit is only for arm64, a fix for other architectures may be needed.
Tested on libart:
350820380 350820960 350820860