frida-java-bridge 6.2.5 → 6.2.7
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 +6 -2
- package/package.json +1 -1
package/lib/android.js
CHANGED
|
@@ -483,6 +483,7 @@ function _getApi () {
|
|
|
483
483
|
|
|
484
484
|
temporaryApi.artQuickGenericJniTrampoline = getArtQuickEntrypointFromTrampoline(quickGenericJniTrampoline, vm);
|
|
485
485
|
temporaryApi.artQuickToInterpreterBridge = getArtQuickEntrypointFromTrampoline(quickToInterpreterBridgeTrampoline, vm);
|
|
486
|
+
temporaryApi.artQuickResolutionTrampoline = getArtQuickEntrypointFromTrampoline(quickResolutionTrampoline, vm);
|
|
486
487
|
|
|
487
488
|
if (temporaryApi['art::JavaVMExt::AddGlobalRef'] === undefined) {
|
|
488
489
|
temporaryApi['art::JavaVMExt::AddGlobalRef'] = makeAddGlobalRefFallbackForAndroid5(temporaryApi);
|
|
@@ -1825,7 +1826,8 @@ function instrumentArtQuickEntrypoints (vm) {
|
|
|
1825
1826
|
// Entrypoints that dispatch method invocation from the quick ABI.
|
|
1826
1827
|
const quickEntrypoints = [
|
|
1827
1828
|
api.artQuickGenericJniTrampoline,
|
|
1828
|
-
api.artQuickToInterpreterBridge
|
|
1829
|
+
api.artQuickToInterpreterBridge,
|
|
1830
|
+
api.artQuickResolutionTrampoline
|
|
1829
1831
|
];
|
|
1830
1832
|
|
|
1831
1833
|
quickEntrypoints.forEach(entrypoint => {
|
|
@@ -1844,8 +1846,10 @@ function instrumentArtMethodInvocationFromInterpreter () {
|
|
|
1844
1846
|
let artInterpreterDoCallExportRegex;
|
|
1845
1847
|
if (apiLevel <= 22) {
|
|
1846
1848
|
artInterpreterDoCallExportRegex = /^_ZN3art11interpreter6DoCallILb[0-1]ELb[0-1]EEEbPNS_6mirror9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE$/;
|
|
1847
|
-
} else {
|
|
1849
|
+
} else if (apiLevel <= 33) {
|
|
1848
1850
|
artInterpreterDoCallExportRegex = /^_ZN3art11interpreter6DoCallILb[0-1]ELb[0-1]EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE$/;
|
|
1851
|
+
} else {
|
|
1852
|
+
artInterpreterDoCallExportRegex = /^_ZN3art11interpreter6DoCallILb[0-1]EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtbPNS_6JValueE$/;
|
|
1849
1853
|
}
|
|
1850
1854
|
|
|
1851
1855
|
for (const exp of Module.enumerateExports('libart.so').filter(exp => artInterpreterDoCallExportRegex.test(exp.name))) {
|