frida-java-bridge 6.2.4 → 6.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/android.js CHANGED
@@ -314,6 +314,7 @@ function _getApi () {
314
314
  '_ZN3art9JavaVMExt12AddGlobalRefEPNS_6ThreadEPNS_6mirror6ObjectE',
315
315
  '_ZN3art9JavaVMExt12DecodeGlobalEPv',
316
316
  '_ZN3art9JavaVMExt12DecodeGlobalEPNS_6ThreadEPv',
317
+ '_ZNK3art6Thread13DecodeJObjectEP8_jobject',
317
318
  '_ZN3art10ThreadList10SuspendAllEPKcb',
318
319
  '_ZN3art10ThreadList10SuspendAllEv',
319
320
  '_ZN3art11ClassLinker12VisitClassesEPNS_12ClassVisitorE',
@@ -1843,8 +1844,10 @@ function instrumentArtMethodInvocationFromInterpreter () {
1843
1844
  let artInterpreterDoCallExportRegex;
1844
1845
  if (apiLevel <= 22) {
1845
1846
  artInterpreterDoCallExportRegex = /^_ZN3art11interpreter6DoCallILb[0-1]ELb[0-1]EEEbPNS_6mirror9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE$/;
1846
- } else {
1847
+ } else if (apiLevel <= 33) {
1847
1848
  artInterpreterDoCallExportRegex = /^_ZN3art11interpreter6DoCallILb[0-1]ELb[0-1]EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE$/;
1849
+ } else {
1850
+ artInterpreterDoCallExportRegex = /^_ZN3art11interpreter6DoCallILb[0-1]EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtbPNS_6JValueE$/;
1848
1851
  }
1849
1852
 
1850
1853
  for (const exp of Module.enumerateExports('libart.so').filter(exp => artInterpreterDoCallExportRegex.test(exp.name))) {
@@ -2166,7 +2166,7 @@ Object.defineProperties(Field.prototype, {
2166
2166
  \tvalue: ${this.value},
2167
2167
  }`;
2168
2168
  return multilineString.split('\n').map(l => l.length > 200 ? l.slice(0, l.indexOf(' ') + 1) + '...,' : l).join('\n');
2169
- },
2169
+ }
2170
2170
  }
2171
2171
  });
2172
2172
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frida-java-bridge",
3
- "version": "6.2.4",
3
+ "version": "6.2.6",
4
4
  "description": "Java runtime interop from Frida",
5
5
  "main": "index.js",
6
6
  "files": [