ElderDrivers / ElderDrivers/EdXposed
[BUG] java.lang.ArrayIndexOutOfBoundsException: length=1068; index=1263817555
- Dominant language
- Java
- Stars
- 5.7k
- Forks
- 650
- PR merge metrics
- No merged PRs in 30d
Description
- Rom: Android 10 (lineageos-17.1)
- Magisk: v21.4
- Riru: 23.7
- EdXposed: v0.5.2.2_4683-master-z-debug
Can't hook com.suning.mobile.ebuy , get exception.
```
03-03 14:22:28.044 I/EdXposed( 4387): Start to install inline hooks
03-03 14:22:28.044 I/EdXposed( 4387): Using api level 29
03-03 14:22:28.044 I/EdXposed( 4387): Start to install Riru hook
03-03 14:22:28.108 I/EdXposed( 4387): Riru hooks installed
03-03 14:22:28.155 I/Dobby ( 4387): [*] [DobbyHook] Initialize at 0xe56c8009
03-03 14:22:28.156 I/Dobby ( 4387): [*] ================ FunctionInlineReplaceRouting Start ================
03-03 14:22:28.156 I/Dobby ( 4387): [*] [trampoline] Generate trampoline buffer 0xe56c8009 -> 0xde0d4d59
03-03 14:22:28.156 I/Dobby ( 4387): [*] [insn relocate] origin 0xe56c8008 - 8
03-03 14:22:28.156 I/Dobby ( 4387): [*] [insn relocate] relocated 0xe965c001 - 28
03-03 14:22:28.156 I/Dobby ( 4387): [*] [intercept routing] Active patch 0xe56c8008
03-03 14:22:28.156 I/Dobby ( 4387): [*] ================ FunctionInlineReplaceRouting End ================
03-03 14:22:28.156 I/Dobby ( 4387): [*] [DobbyHook] Initialize at 0xe56c762d
03-03 14:22:28.156 I/Dobby ( 4387): [*] ================ FunctionInlineReplaceRouting Start ================
03-03 14:22:28.156 I/Dobby ( 4387): [*] [trampoline] Generate trampoline buffer 0xe56c762d -> 0xde0d4db5
03-03 14:22:28.156 I/Dobby ( 4387): [*] [insn relocate] origin 0xe56c762c - 8
03-03 14:22:28.156 I/Dobby ( 4387): [*] [insn relocate] relocated 0xe965c01d - 28
03-03 14:22:28.156 I/Dobby ( 4387): [*] [intercept routing] Active patch 0xe56c762c
03-03 14:22:28.156 I/Dobby ( 4387): [*] ================ FunctionInlineReplaceRouting End ================
03-03 14:22:28.156 D/EdXposed( 4387): _ZN3art7Runtime9instance_E = 0xe96de380
03-03 14:22:28.157 D/EdXposed( 4387): art::runtime::Heap object: 0xe9738400
03-03 14:22:28.157 D/EdXposed( 4387): art_method hook setup, handle=0xe99a0870
03-03 14:22:28.157 D/EdXposed( 4387): Classlinker hook setup, handle=0xe99a0870
03-03 14:22:28.157 D/EdXposed( 4387): Classlinker object: 0xe96d40c0
03-03 14:22:28.157 I/Dobby ( 4387): [*] [DobbyHook] Initialize at 0xe55edaf9
03-03 14:22:28.157 I/Dobby ( 4387): [*] ================ FunctionInlineReplaceRouting Start ================
03-03 14:22:28.157 I/Dobby ( 4387): [*] [trampoline] Generate trampoline buffer 0xe55edaf9 -> 0xde0d51c5
03-03 14:22:28.157 I/Dobby ( 4387): [*] [insn relocate] origin 0xe55edaf8 - 8
03-03 14:22:28.157 I/Dobby ( 4387): [*] [insn relocate] relocated 0xe965c039 - 28
03-03 14:22:28.157 I/Dobby ( 4387): [*] [intercept routing] Active patch 0xe55edaf8
03-03 14:22:28.157 I/Dobby ( 4387): [*] ================ FunctionInlineReplaceRouting End ================
03-03 14:22:28.157 I/Dobby ( 4387): [*] [DobbyHook] Initialize at 0xe55edc15
03-03 14:22:28.157 I/Dobby ( 4387): [*] ================ FunctionInlineReplaceRouting Start ================
03-03 14:22:28.157 I/Dobby ( 4387): [*] [trampoline] Generate trampoline buffer 0xe55edc15 -> 0xde0d581d
03-03 14:22:28.157 I/Dobby ( 4387): [*] [insn relocate] origin 0xe55edc14 - 8
03-03 14:22:28.157 I/Dobby ( 4387): [*] [insn relocate] relocated 0xe965c055 - 28
03-03 14:22:28.158 I/Dobby ( 4387): [*] [intercept routing] Active patch 0xe55edc14
03-03 14:22:28.158 I/Dobby ( 4387): [*] ================ FunctionInlineReplaceRouting End ================
03-03 14:22:28.158 I/Dobby ( 4387): [*] [DobbyHook] Initialize at 0xe57d55e1
03-03 14:22:28.158 I/Dobby ( 4387): [*] ================ FunctionInlineReplaceRouting Start ================
03-03 14:22:28.158 I/Dobby ( 4387): [*] [trampoline] Generate trampoline buffer 0xe57d55e1 -> 0xde0d5a71
03-03 14:22:28.158 I/Dobby ( 4387): [*] [insn relocate] origin 0xe57d55e0 - 8
03-03 14:22:28.158 I/Dobby ( 4387): [*] [insn relocate] relocated 0xe965c071 - 28
03-03 14:22:28.158 I/Dobby ( 4387): [*] [intercept routing] Active patch 0xe57d55e0
03-03 14:22:28.158 I/Dobby ( 4387): [*] ================ FunctionInlineReplaceRouting End ================
03-03 14:22:28.158 I/Dobby ( 4387): [*] [DobbyHook] Initialize at 0xe56d7b51
03-03 14:22:28.158 I/Dobby ( 4387): [*] ================ FunctionInlineReplaceRouting Start ================
03-03 14:22:28.158 I/Dobby ( 4387): [*] [trampoline] Generate trampoline buffer 0xe56d7b51 -> 0xde0d5ed9
03-03 14:22:28.158 I/Dobby ( 4387): [*] [insn relocate] origin 0xe56d7b50 - 8
03-03 14:22:28.158 I/Dobby ( 4387): [*] [insn relocate] relocated 0xe965c08d - 28
03-03 14:22:28.158 I/Dobby ( 4387): [*] [intercept routing] Active patch 0xe56d7b50
03-03 14:22:28.158 I/Dobby ( 4387): [*] ================ FunctionInlineReplaceRouting End ================
03-03 14:22:28.159 I/Dobby ( 4387): [*] [DobbyHook] Initialize at 0xe58651e1
03-03 14:22:28.159 I/Dobby ( 4387): [*] ================ FunctionInlineReplaceRouting Start ================
03-03 14:22:28.159 I/Dobby ( 4387): [*] [trampoline] Generate trampoline buffer 0xe58651e1 -> 0xde0d6201
03-03 14:22:28.159 I/Dobby ( 4387): [*] [insn relocate] origin 0xe58651e0 - 8
03-03 14:22:28.159 I/Dobby ( 4387): [*] [insn relocate] relocated 0xe965c0a9 - 28
03-03 14:22:28.159 I/Dobby ( 4387): [*] [intercept routing] Active patch 0xe58651e0
03-03 14:22:28.159 I/Dobby ( 4387): [*] ================ FunctionInlineReplaceRouting End ================
03-03 14:22:28.159 I/EdXposed( 4387): ART hooks installed
03-03 14:22:28.180 D/EdXposed( 4387): not using sandhook
03-03 14:22:28.181 I/EdXposed( 4387): init to SDK 29
03-03 14:22:28.183 D/EdXposed( 4387): Done prepare
03-03 14:22:28.234 I/EdXposed( 4387): ArtMethod: 0x7070de70
03-03 14:22:28.234 D/EdXposed( 4387): deoptimizing method: 0x7070de70
03-03 14:22:28.234 D/EdXposed( 4387): SetEntryPointsToInterpreter start, thiz=0xe96d40c0, art_method=0x7070de70
03-03 14:22:28.234 D/EdXposed( 4387): method deoptimized: 0x7070de70
03-03 14:22:28.235 D/EdXposed( 4387): startBootstrapHook starts: isSystem = false
03-03 14:22:28.242 D/EdXposed( 4387): hooking private void android.app.ActivityThread.handleBindApplication(android.app.ActivityThread$AppBindData)
03-03 14:22:28.242 D/EdXposed( 4387): start to generate class for: private void android.app.ActivityThread.handleBindApplication(android.app.ActivityThread$AppBindData)
03-03 14:22:28.245 D/EdXposed( 4387): Using cache EdHooker_42b8453bf7df105343083f1377c32094be493c49.jar
03-03 14:22:28.248 D/EdXposed( 4387): target=private void android.app.ActivityThread.handleBindApplication(android.app.ActivityThread$AppBindData), hook=public static void EdHooker_42b8453bf7df105343083f1377c32094be493c49.hook(java.lang.Object,android.app.ActivityThread$AppBindData), backup=public static void EdHooker_42b8453bf7df105343083f1377c32094be493c49.backup(java.lang.Object,android.app.ActivityThread$AppBindData)
03-03 14:22:28.248 I/EdXposed( 4387): ArtMethod: 0x7082e150
03-03 14:22:28.248 I/EdXposed( 4387): ArtMethod: 0xdda3b120
03-03 14:22:28.248 I/EdXposed( 4387): ArtMethod: 0xdda3b104
03-03 14:22:28.248 I/EdXposed( 4387): not enough capacity. Allocating...
03-03 14:22:28.248 I/EdXposed( 4387): Allocating done
03-03 14:22:28.248 I/EdXposed( 4387): target method is at 0x7082e150, hook method is at 0xdda3b120, backup method is at 0xdda3b104
03-03 14:22:28.248 I/EdXposed( 4387): setNonCompilable: access flags is 0x80002
03-03 14:22:28.248 I/EdXposed( 4387): setNonCompilable: access flags is 0x10080009
03-03 14:22:28.248 I/EdXposed( 4387): setPrivate: access flags is 0x2080002
03-03 14:22:28.249 I/EdXposed( 4387): origin ep is 0x712f4799, new ep is 0xe90e7000
03-03 14:22:28.249 I/EdXposed( 4387): hook and backup done
03-03 14:22:28.249 I/EdXposed( 4387): ArtMethod: 0x7082e150
03-03 14:22:28.250 D/EdXposed( 4387): hooking public android.app.LoadedApk(android.app.ActivityThread,android.content.pm.ApplicationInfo,android.content.res.CompatibilityInfo,java.lang.ClassLoader,boolean,boolean,boolean)
03-03 14:22:28.250 D/EdXposed( 4387): start to generate class for: public android.app.LoadedApk(android.app.ActivityThread,android.content.pm.ApplicationInfo,android.content.res.CompatibilityInfo,java.lang.ClassLoader,boolean,boolean,boolean)
03-03 14:22:28.251 D/EdXposed( 4387): Using cache EdHooker_fc8429db2d489b8f31cd9b7e48ff764fbbb91c89.jar
03-03 14:22:28.253 D/EdXposed( 4387): target=public android.app.LoadedApk(android.app.ActivityThread,android.content.pm.ApplicationInfo,android.content.res.CompatibilityInfo,java.lang.ClassLoader,boolean,boolean,boolean), hook=public static void EdHooker_fc8429db2d489b8f31cd9b7e48ff764fbbb91c89.hook(java.lang.Object,android.app.ActivityThread,android.content.pm.ApplicationInfo,android.content.res.CompatibilityInfo,java.lang.ClassLoader,boolean,boolean,boolean), backup=public static void EdHooker_fc8429db2d489b8f31cd9b7e48ff764fbbb91c89.backup(java.lang.Object,android.app.ActivityThread,android.content.pm.ApplicationInfo,android.content.res.CompatibilityInfo,java.lang.ClassLoader,boolean,boolean,boolean)
03-03 14:22:28.254 I/EdXposed( 4387): ArtMethod: 0x707eed64
03-03 14:22:28.254 I/EdXposed( 4387): ArtMethod: 0xdd9b8190
03-03 14:22:28.254 I/EdXposed( 4387): ArtMethod: 0xdd9b8174
03-03 14:22:28.254 I/EdXposed( 4387): not enough capacity. Allocating...
03-03 14:22:28.254 I/EdXposed( 4387): allocating new space for trampoline code
03-03 14:22:28.254 I/EdXposed( 4387): Allocating done
03-03 14:22:28.254 I/EdXposed( 4387): target method is at 0x707eed64, hook method is at 0xdd9b8190, backup method is at 0xdd9b8174
03-03 14:22:28.254 I/EdXposed( 4387): setNonCompilable: access flags is 0x90001
03-03 14:22:28.254 I/EdXposed( 4387): setNonCompilable: access flags is 0x10080009
03-03 14:22:28.254 I/EdXposed( 4387): setPrivate: access flags is 0x2090001
03-03 14:22:28.254 I/EdXposed( 4387): origin ep is 0x712390c9, new ep is 0xe6d74000
03-03 14:22:28.254 I/EdXposed( 4387): hook and backup done
03-03 14:22:28.254 I/EdXposed( 4387): ArtMethod: 0x707eed64
03-03 14:22:28.255 I/EdXposed( 4387): Loading modules for com.suning.mobile.ebuy
03-03 14:22:28.255 D/EdXposed( 4387): module list: /data/app/com.android.ztools-4SsMvqS9N_bPEd9yBTKYoQ==/base.apk
03-03 14:22:28.256 I/EdXposed-Bridge( 4387): Loading modules from /data/app/com.android.ztools-4SsMvqS9N_bPEd9yBTKYoQ==/base.apk
03-03 14:22:28.301 I/EdXposed-Bridge( 4387): Loading class com.zhy.xmodule.XposedModule
03-03 14:22:28.304 D/EdXposed( 4387): injected xposed into com.suning.mobile.ebuy
03-03 14:22:28.321 D/EdXposed( 4387): ActivityThread#handleBindApplication() starts: pkg=android, prc=android
03-03 14:22:28.321 D/EdXposed( 4387): processName=com.suning.mobile.ebuy, packageName=com.suning.mobile.ebuy, appDataDir=/data/user/0/com.suning.mobile.ebuy
03-03 14:22:28.322 D/EdXposed( 4387): LoadedApk# starts: pkg=com.suning.mobile.ebuy, prc=com.suning.mobile.ebuy
03-03 14:22:28.322 D/EdXposed( 4387): LoadedApk# ends: /data/app/com.suning.mobile.ebuy-FMsxao4W3Iklh4_HrzaL4A==/base.apk: pkg=com.suning.mobile.ebuy, prc=com.suning.mobile.ebuy
03-03 14:22:28.328 D/EdXposed( 4387): LoadedApk# has been loaded before, skip: /data/app/com.suning.mobile.ebuy-FMsxao4W3Iklh4_HrzaL4A==/base.apk: pkg=com.suning.mobile.ebuy, prc=com.suning.mobile.ebuy
03-03 14:22:28.343 I/netd ( 597): firewallSetUidRule(2, 10130, 1) <2.59ms>
03-03 14:22:28.355 W/ServiceManager( 693): Permission failure: android.permission.ACCESS_SURFACE_FLINGER from uid=10111 pid=2568
03-03 14:22:28.356 D/PermissionCache( 693): checking android.permission.ACCESS_SURFACE_FLINGER for uid=10111 => denied (1402 us)
03-03 14:22:28.790 D/ImageWallpaper( 2135): wallpaper visibility changes to: false
03-03 14:22:28.821 E/EdXposed( 4387): error when hooking bindApp: pkg=com.suning.mobile.ebuy, prc=com.suning.mobile.ebuy
03-03 14:22:28.821 E/EdXposed( 4387): java.lang.ArrayIndexOutOfBoundsException: length=1068; index=1263817555
03-03 14:22:28.821 E/EdXposed( 4387): at pxb.android.axml.AxmlParser.getNamespacePrefix(AxmlParser.java:151)
03-03 14:22:28.821 E/EdXposed( 4387): at pxb.android.axml.AxmlReader.accept(AxmlReader.java:80)
03-03 14:22:28.821 E/EdXposed( 4387): at com.elderdrivers.riru.edxp.util.MetaDataReader.(MetaDataReader.java:27)
03-03 14:22:28.821 E/EdXposed( 4387): at com.elderdrivers.riru.edxp.util.MetaDataReader.getMetaData(MetaDataReader.java:19)
03-03 14:22:28.821 E/EdXposed( 4387): at com.elderdrivers.riru.edxp._hooker.impl.HandleBindApp.beforeHookedMethod(HandleBindApp.java:69)
03-03 14:22:28.821 E/EdXposed( 4387): at de.robv.android.xposed.MethodHooker.handleHookedMethod(MethodHooker.java:61)
03-03 14:22:28.821 E/EdXposed( 4387): at EdHooker_42b8453bf7df105343083f1377c32094be493c49.hook(Unknown Source:48)
03-03 14:22:28.821 E/EdXposed( 4387): at android.app.ActivityThread.access$1300(ActivityThread.java:219)
03-03 14:22:28.821 E/EdXposed( 4387): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1859)
03-03 14:22:28.821 E/EdXposed( 4387): at android.os.Handler.dispatchMessage(Handler.java:107)
03-03 14:22:28.821 E/EdXposed( 4387): at android.os.Looper.loop(Looper.java:214)
03-03 14:22:28.821 E/EdXposed( 4387): at android.app.ActivityThread.main(ActivityThread.java:7356)
03-03 14:22:28.821 E/EdXposed( 4387): at java.lang.reflect.Method.invoke(Native Method)
03-03 14:22:28.821 E/EdXposed( 4387): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
03-03 14:22:28.821 E/EdXposed( 4387): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
03-03 14:22:28.908 W/ing.mobile.ebu( 4387): resources.arsc in APK '/data/app/com.suning.mobile.ebuy-FMsxao4W3Iklh4_HrzaL4A==/base.apk' is compressed.
03-03 14:22:29.004 I/~~dzy~~ ( 4387): launcherTime=1614820949003
03-03 14:22:29.008 I/MultiDex( 4387): VM with version 2.1.0 has multidex support
03-03 14:22:29.008 I/MultiDex( 4387): Installing application
03-03 14:22:29.008 I/MultiDex( 4387): VM has multidex support, MultiDex support library is disabled.
03-03 14:22:29.077 I/AGConnectProvider( 4387): AGConnectInitializeProvider#onCreate
03-03 14:22:29.078 I/AGConnectInstance( 4387): AGConnectInstance#initialize
03-03 14:22:29.079 I/ServiceRegistrarParser( 4387): getServices
03-03 14:22:29.080 E/Sensors ( 673): sns_debug_main.c(161):Debug Timer Callback called
03-03 14:22:29.081 I/ServiceRegistrarParser( 4387): services:0
03-03 14:22:29.174 D/EdXposed( 4387): LoadedApk# starts: pkg=com.suning.mobile.ebuy, prc=com.suning.mobile.ebuy
03-03 14:22:29.174 D/EdXposed( 4387): LoadedApk# ends: /system/product/app/webview/webview.apk: pkg=com.suning.mobile.ebuy, prc=com.suning.mobile.ebuy
03-03 14:22:29.175 D/EdXposed( 4387): hooking public java.lang.ClassLoader android.app.LoadedApk.getClassLoader()
03-03 14:22:29.175 D/EdXposed( 4387): start to generate class for: public java.lang.ClassLoader android.app.LoadedApk.getClassLoader()
03-03 14:22:29.177 D/EdXposed( 4387): Using cache EdHooker_d80f73e34da17c301b40feab7995d5a6a0b56621.jar
03-03 14:22:29.179 D/EdXposed( 4387): target=public java.lang.ClassLoader android.app.LoadedApk.getClassLoader(), hook=public static java.lang.Object EdHooker_d80f73e34da17c301b40feab7995d5a6a0b56621.hook(java.lang.Object), backup=public static java.lang.Object EdHooker_d80f73e34da17c301b40feab7995d5a6a0b56621.backup(java.lang.Object)
03-03 14:22:29.179 I/EdXposed( 4387): ArtMethod: 0x707ef0c8
03-03 14:22:29.179 I/EdXposed( 4387): ArtMethod: 0xdd34d108
03-03 14:22:29.179 I/EdXposed( 4387): ArtMethod: 0xdd34d0ec
03-03 14:22:29.179 I/EdXposed( 4387): not enough capacity. Allocating...
03-03 14:22:29.179 I/EdXposed( 4387): allocating new space for trampoline code
03-03 14:22:29.179 I/EdXposed( 4387): Allocating done
03-03 14:22:29.179 I/EdXposed( 4387): target method is at 0x707ef0c8, hook method is at 0xdd34d108, backup method is at 0xdd34d0ec
03-03 14:22:29.179 I/EdXposed( 4387): setNonCompilable: access flags is 0x80001
03-03 14:22:29.179 I/EdXposed( 4387): setNonCompilable: access flags is 0x10080009
03-03 14:22:29.179 I/EdXposed( 4387): setPrivate: access flags is 0x2080001
03-03 14:22:29.179 I/EdXposed( 4387): origin ep is 0x7123cc31, new ep is 0xe66b7000
03-03 14:22:29.180 I/EdXposed( 4387): hook and backup done
03-03 14:22:29.180 I/EdXposed( 4387): ArtMethod: 0x707ef0c8
03-03 14:22:29.183 I/WebViewFactory( 4387): Loading com.android.webview version 87.0.4280.101 (code 428010103)
03-03 14:22:29.191 D/EdXposed( 4387): LoadedApk#getClassLoader starts: pkg=com.suning.mobile.ebuy, prc=com.suning.mobile.ebuy
03-03 14:22:29.191 D/EdXposed( 4387): LoadedApk#getClassLoader ends: /system/product/app/webview/webview.apk -> dalvik.system.PathClassLoader[DexPathList[[zip file "/system/product/app/webview/webview.apk"],nativeLibraryDirectories=[/system/product/app/webview/lib/arm, /system/product/app/webview/webview.apk!/lib/armeabi-v7a, /system/lib, /system/product/lib, /vendor/lib, /system/lib, /system/product/lib, /vendor/lib]]]: pkg=com.suning.mobile.ebuy, prc=com.suning.mobile.ebuy
03-03 14:22:29.253 I/cr_VariationsUtils( 4387): Failed reading seed file "/data/user/0/com.suning.mobile.ebuy/app_webview/variations_seed_new"
03-03 14:22:29.253 I/cr_VariationsUtils( 4387): Failed reading seed file "/data/user/0/com.suning.mobile.ebuy/app_webview/variations_seed"
03-03 14:22:29.254 I/cr_VariationsUtils( 4387): Requesting new seed from IVariationsSeedServer
03-03 14:22:29.259 D/EdXposed( 599): using blacklist, com.android.webview -> true
03-03 14:22:29.265 D/Zygote ( 599): Forked child process 4429
03-03 14:22:29.269 I/ActivityManager( 1196): Start proc 4429:com.android.webview:webview_service/u0a123 for service {com.android.webview/org.chromium.android_webview.services.VariationsSeedServer}
03-03 14:22:29.284 I/cr_LibraryLoader( 4387): Loaded native library version number "87.0.4280.101"
03-03 14:22:29.288 I/cr_CachingUmaRecorder( 4387): Flushed 5 samples from 5 histograms.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.