frida-java-bridge icon indicating copy to clipboard operation
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)

Open matbrik opened this issue 5 months ago • 15 comments

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

matbrik avatar Sep 24 '24 13:09 matbrik