Error: Unable to parse ART internals
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- android, javascript
- Ambito
- mobile-dev, reverse-engineering
Direzione di ricerca
Inizia da frida-java-bridge/lib/android.js alle righe 2016 e 1613, dove si verificano gli errori segnalati di parsing di ART e di proprietà null. Riproduci il problema con l’APK di debug su Android API 33 o 34, quindi confrontalo con la build di release funzionante e con l’app preinstallata. Il lavoro è completo quando viene identificata la causa specifica della debug build e viene validata una correzione rispetto alle versioni di Frida segnalate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
For some of the apps I'm getting the error, when running frida via Python interface, two apps which fail such a way are using Android API 33 and 34, not sure if that matters. When trying to instrument preinstalled apps such as com.android.gallery3d all is good, and the system is Android 13.
bash
INFO:root:⚡ {'type': 'error', 'description': 'Error: Unable to parse ART internals; please file a bug', 'stack': 'Error: Unable to parse ART internals; please file a bug\n at On (frida/node_modules/frida-java-bridge/lib/android.js:2016)\n at Ln (frida/node_modules/frida-java-bridge/lib/android.js:1716)\n at <anonymous> (frida/node_modules/frida-java-bridge/lib/android.js:1612)\n at _patchCode (native)\n at value (frida/runtime/core.js:207)\n at In (frida/node_modules/frida-java-bridge/lib/android.js:1613)\n at vt (frida/node_modules/frida-java-bridge/lib/android.js:581)\n at <anonymous> (frida/node_modules/frida-java-bridge/lib/memoize.js:4)\n at bt (frida/node_modules/frida-java-bridge/lib/android.js:576)\n at <anonymous> (frida/node_modules/frida-java-bridge/lib/class-model.js:115)\n at build (frida/node_modules/frida-java-bridge/lib/class-model.js:7)\n at _make (frida/node_modules/frida-java-bridge/lib/class-factory.js:168)\n at use (frida/node_modules/frida-java-bridge/lib/class-factory.js:62)\n at <anonymous> (frida/node_modules/frida-java-bridge/index.js:224)\n at <anonymous> (frida/node_modules/frida-java-bridge/lib/vm.js:12)\n at _performPendingVmOpsWhenReady (frida/node_modules/frida-java-bridge/index.js:244)\n at perform (frida/node_modules/frida-java-bridge/index.js:204)\n at <anonymous> (/script1.js:71)\n at apply (native)\n at <anonymous> (frida/runtime/core.js:51)', 'fileName': 'frida/node_modules/frida-java-bridge/lib/android.js', 'lineNumber': 2016, 'columnNumber': 1}
bash
INFO:root:⚡ {'type': 'error', 'description': "TypeError: cannot set property '_code' of null", 'stack': "TypeError: cannot set property '_code' of null\n at In (frida/node_modules/frida-java-bridge/lib/android.js:1613)\n at vt (frida/node_modules/frida-java-bridge/lib/android.js:581)\n at <anonymous> (frida/node_modules/frida-java-bridge/lib/memoize.js:4)\n at bt (frida/node_modules/frida-java-bridge/lib/android.js:576)\n at <anonymous> (frida/node_modules/frida-java-bridge/lib/class-model.js:115)\n at build (frida/node_modules/frida-java-bridge/lib/class-model.js:7)\n at _make (frida/node_modules/frida-java-bridge/lib/class-factory.js:168)\n at use (frida/node_modules/frida-java-bridge/lib/class-factory.js:62)\n at <anonymous> (frida/node_modules/frida-java-bridge/index.js:224)\n at <anonymous> (frida/node_modules/frida-java-bridge/lib/vm.js:12)\n at _performPendingVmOpsWhenReady (frida/node_modules/frida-java-bridge/index.js:244)\n at perform (frida/node_modules/frida-java-bridge/index.js:204)\n at <anonymous> (/script1.js:71)\n at apply (native)\n at <anonymous> (frida/runtime/core.js:51)", 'fileName': 'frida/node_modules/frida-java-bridge/lib/android.js', 'lineNumber': 1613, 'columnNumber': 1
What can be a reason for such failure?
It happens on a debug build of the APK, for release build all is good
Tested Frida versions:
16.0.0 - just to make sure that the issue is not recently introduced
16.1.10 - pinned version for my env.
16.4.8 - latest
- Lingua principale
- JavaScript
- Stelle
- 412
- Fork
- 170
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di frida/frida-java-bridge
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
frida/frida-java-bridge#386 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
frida/frida-java-bridge#384 · 2 commenti · 2 reazioni ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
frida/frida-java-bridge#408 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
frida/frida-java-bridge#404 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
frida/frida-java-bridge#397 · 2 commenti ·
Tutte le issue di frida/frida-java-bridge
Issue simili
-
bug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
open-webui/open-webui#30750 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Mend: dependency security vulnerability untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100