FrenchYeti / dexcalibur

[Official] Android reverse engineering tool focused on dynamic instrumentation automation leveraging Frida. It disassembles dex, analyzes it statically, generates hooks, discovers reflected methods, stores intercepted data and does new things from it. Its aim is to be an all-in-one Android reverse engineering platform.
Apache License 2.0
1.06k stars 126 forks source link

TypeError: this.__tmp_block.setDataWidth is not a function #76

Open kylemd opened 2 years ago

kylemd commented 2 years ago

Describe the bug The following error occurs whilst trying to open an APK.

To reproduce / to understand Download latest BSG apk from Celso Azevedo and install. Try to attach from Dexcalibur menu.

Expected behavior Should proceed to frontend.

Callbacks

[INFO] [APK HELPER] APK extracted into : C:\Users\kyle\dexcaliburWS\com_android_MGC_8_6_263_0\apk
[PROJECT] Project uses platform : sdk_androidapi_32_google
[INFO] Scanning platform sdk_androidapi_32_google
[*] Smali analyzing done.
---------------------------------------
[*] 5079 classes analyzed.

[*] Start object mapping ...
------------------------------------------
[INFO] DB size : 5079
[INFO] 200/5079 Classes mapped (android.app.Dialog)
[INFO] 400/5079 Classes mapped (android.bluetooth.le.ScanFilter$Builder)
[INFO] 600/5079 Classes mapped (android.database.sqlite.SQLiteCursor)
[INFO] 800/5079 Classes mapped (android.graphics.RegionIterator)
[INFO] 1000/5079 Classes mapped (android.icu.text.BreakIterator)
[INFO] 1200/5079 Classes mapped (android.media.audiofx.AcousticEchoCanceler)
[INFO] 1400/5079 Classes mapped (android.media.MediaPlayer$OnSeekCompleteListener)
[INFO] 1600/5079 Classes mapped (android.net.Ikev2VpnProfile)
[INFO] 1800/5079 Classes mapped (android.net.wifi.WifiConfiguration)
[INFO] 2000/5079 Classes mapped (android.os.StrictMode$OnVmViolationListener)
[INFO] 2200/5079 Classes mapped (android.provider.ContactsContract$StatusUpdates)
[INFO] 2400/5079 Classes mapped (android.se.omapi.Session)
[INFO] 2600/5079 Classes mapped (android.telecom.CallRedirectionService)
[INFO] 2800/5079 Classes mapped (android.text.BoringLayout$Metrics)
[INFO] 3000/5079 Classes mapped (android.util.MutableBoolean)
[INFO] 3200/5079 Classes mapped (android.view.ScaleGestureDetector)
[INFO] 3400/5079 Classes mapped (android.webkit.ServiceWorkerWebSettings)
[INFO] 3600/5079 Classes mapped (android.widget.TabWidget)
[INFO] 3800/5079 Classes mapped (java.lang.invoke.VolatileCallSite)
[INFO] 4000/5079 Classes mapped (java.nio.channels.Pipe)
[INFO] 4200/5079 Classes mapped (java.security.GuardedObject)
[INFO] 4400/5079 Classes mapped (java.time.chrono.ThaiBuddhistChronology)
[INFO] 4600/5079 Classes mapped (java.util.function.DoublePredicate)
[INFO] 4800/5079 Classes mapped (javax.crypto.CipherOutputStream)
[INFO] 5000/5079 Classes mapped (org.json.JSONException)
[INFO] 5079/5079 Classes mapped (org.xmlpull.v1.XmlSerializer)
[*] 52132 methods indexed
[*] 26743 fields indexed
[*] 198655 instructions indexed
[*] 51202 method calls mapped
[*] 5714 field calls mapped
[INFO] [INSPECTOR MANAGER] Project[com_android_MGC_8_6_263_0], Step[POST_PLATFORM_SCAN] deploying inspectors : <none>
[INFO] Scanning default path : C:\Users\kyle\dexcaliburWS\com_android_MGC_8_6_263_0\apk
TypeError: this.__tmp_block.setDataWidth is not a function
    at SmaliParser.method (C:\Users\kyle\Development\_Builds\dexcalibur\src\SmaliParser.js:435:34)
    at SmaliParser.parse (C:\Users\kyle\Development\_Builds\dexcalibur\src\SmaliParser.js:751:34)
    at Analyzer.file (C:\Users\kyle\Development\_Builds\dexcalibur\src\Analyzer.js:800:30)
    at C:\Users\kyle\Development\_Builds\dexcalibur\src\Analyzer.js:839:18
    at Object.forEachFileOf (C:\Users\kyle\Development\_Builds\dexcalibur\src\Utils.js:108:21)
    at Object.forEachFileOf (C:\Users\kyle\Development\_Builds\dexcalibur\src\Utils.js:105:26)
    at Analyzer.path (C:\Users\kyle\Development\_Builds\dexcalibur\src\Analyzer.js:838:12)
    at DexcaliburProject.fullscan (C:\Users\kyle\Development\_Builds\dexcalibur\src\DexcaliburProject.js:737:26)
    at C:\Users\kyle\Development\_Builds\dexcalibur\src\WebServer.js:448:49
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Desktop (please complete the following information):

If you think this issue is related to your device, please fill following information: