Code Monkey home page Code Monkey logo

Comments (11)

github-actions avatar github-actions commented on June 14, 2024

👋 @H-Maa
Issues is only for reporting a bug/feature request. For limited support, questions, and discussions, please join MobSF Slack channel
Please include all the requested and relevant information when opening a bug report. Improper reports will be closed without any response.

from mobile-security-framework-mobsf.

H-Maa avatar H-Maa commented on June 14, 2024

After 30 minutes jadx times out and it continues with the analysis.

[WARNING] 28/Jan/2024 03:42:23 - Decompiling with jadx timed out
[INFO] 28/Jan/2024 03:42:23 - Converting classes12.dex to Smali Code
[INFO] 28/Jan/2024 03:42:23 - Converting classes.dex to Smali Code
[INFO] 28/Jan/2024 03:42:23 - Converting classes28.dex to Smali Code
[INFO] 28/Jan/2024 03:42:23 - Converting classes15.dex to Smali Code

Not sure if this is an issue?

from mobile-security-framework-mobsf.

ohyeah521 avatar ohyeah521 commented on June 14, 2024

@H-Maa pls upload the apk file,i'll test it.

from mobile-security-framework-mobsf.

H-Maa avatar H-Maa commented on June 14, 2024

@H-Maa pls upload the apk file,i'll test it.

Here you go.
https://mega.nz/file/8FAjkTjJ#GSb1Mbt9AWxnGm0XHrnRa0ADHgq5kufkGLKMOR--fEk

from mobile-security-framework-mobsf.

ohyeah521 avatar ohyeah521 commented on June 14, 2024

This application is too big, it has 207175 classes and 1157284 methods. You can try to increase the jvm memory.

from mobile-security-framework-mobsf.

ajinabraham avatar ajinabraham commented on June 14, 2024

This is not a bug in MobSF.

@H-Maa MobSF has a timeout for jadx decompiling after 30 minutes. You can either increase the timeout using the environment variable or increase the JVM memory here:

DEFAULT_JVM_OPTS='"-Djdk.util.zip.disableZip64ExtraFieldValidation=true" "-Xms128M" "-XX:MaxRAMPercentage=70.0" "-XX:+UseG1GC"'

If either of these doesn't work, then this is a JADX issue and you probably want to report it to https://github.com/skylot/jadx

from mobile-security-framework-mobsf.

H-Maa avatar H-Maa commented on June 14, 2024

This is not a bug in MobSF.

@H-Maa MobSF has a timeout for jadx decompiling after 30 minutes. You can either increase the timeout using the environment variable or increase the JVM memory here:

DEFAULT_JVM_OPTS='"-Djdk.util.zip.disableZip64ExtraFieldValidation=true" "-Xms128M" "-XX:MaxRAMPercentage=70.0" "-XX:+UseG1GC"'

If either of these doesn't work, then this is a JADX issue and you probably want to report it to https://github.com/skylot/jadx

I tried increasing memory as you said but that did not help. I also never have any issue with decompiling this apk with jadx, at most it uses 4-4.5gb of ram so there should be plenty left.

from mobile-security-framework-mobsf.

ajinabraham avatar ajinabraham commented on June 14, 2024

Did you run the exact command line arguments

when you ran jadx decompiler independently?

from mobile-security-framework-mobsf.

H-Maa avatar H-Maa commented on June 14, 2024

No, I used jadx-gui. I'll try it with command line.

from mobile-security-framework-mobsf.

ohyeah521 avatar ohyeah521 commented on June 14, 2024

Your problem has nothing to do with mobsf, you should report it to jadx

from mobile-security-framework-mobsf.

H-Maa avatar H-Maa commented on June 14, 2024

Did you run the exact command line arguments


when you ran jadx decompiler independently?

I tried it with command line using the same arguments, and it finished decompiling but did experience errors.

ERROR -   Method: com.ss.android.ugc.aweme.ecommerce.base.pdp.vm.PdpViewModel.HG0():java.lang.String
ERROR -   Method: com.ss.android.ugc.aweme.ecommerce.base.sku.vm.SkuPanelViewModel.eG0(java.util.Map, android.view.View):void
ERROR -   Method: com.ss.android.ugc.aweme.main.bottomobserver.BottomPublishObserver.LIZ():void
ERROR -   Method: com.ss.android.ugc.aweme.poi.map.lynxmap.LynxMapElement.LJJIIJZLJL(com.lynx.react.bridge.ReadableMap):X.KSP
ERROR -   Method: com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2.Yq(com.ss.android.ugc.aweme.profile.ui.I18nAbsProfileFragmentV2, X.Tqr):X.Tqr
ERROR -   Method: com.ss.android.ugc.aweme.search.pages.result.topsearch.core.ui.jedi.SearchJediMixFeedFragment.ws(int, X.YBj):void
ERROR -   Method: com.ss.android.ugc.aweme.share.core.ui.SkeletonSharePanelFragment.initView():void
ERROR -   Method: com.ss.android.ugc.aweme.wavepublish.dm.service.DMPublishServiceImpl.createPhotoPublishEditModel(java.lang.String, java.lang.String, int, boolean, boolean, boolean, boolean):X.DsM<java.lang.Boolean, com.ss.android.ugc.aweme.shortvideo.BaseShortVideoContext>
ERROR -   Method: com.ss.android.ugc.aweme.wavepublish.dm.service.DMPublishServiceImpl.createVideoPublishEditModel(java.lang.String, java.lang.String, int, int, long, int, int, int, int, boolean, boolean, boolean, java.lang.String):X.DsM<java.lang.Boolean, com.ss.android.ugc.aweme.shortvideo.BaseShortVideoContext>
ERROR -   Method: com.ss.android.ugc.gamora.editorpro.tts.TTSFragment.Br(boolean):void
ERROR -   Method: com.ss.ttlivestreamer.core.effect.EffectWrapper.onExpressionDetectResultCallback(int):void
ERROR -   Method: com.sun.jna.NativeLibrary.loadLibrary(java.lang.String, java.util.Map<java.lang.String, ?>):com.sun.jna.NativeLibrary
ERROR -   Method: kotlin.jvm.internal.AFqS86S0000000_8.invoke():java.lang.Object
ERROR -   Method: kotlin.jvm.internal.AqS152S0200000_8.invoke$178(kotlin.jvm.internal.AqS152S0200000_8, java.lang.Object):java.lang.Object
ERROR -   Method: kotlin.jvm.internal.AqS55S1100000_1.invoke$36(kotlin.jvm.internal.AqS55S1100000_1, java.lang.Object):java.lang.Object
ERROR -   Method: kotlin.jvm.internal.AqS9S2200000_1.invoke$6(kotlin.jvm.internal.AqS9S2200000_1, java.lang.Object):java.lang.Object
ERROR - finished with errors, count: 158

If this confirms the issue is jadx, I will try raising an issue there.

from mobile-security-framework-mobsf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.