Skip to content

Long execution time for Quark analysis #841

@zinwang

Description

@zinwang

Describe the problem

Quark takes too long to analyze some APKs. For example, Quark takes almost 13 minutes to analyze APK 000210E6C9292BE5E3A55B96271EDF7F0F3F3AE79AF0144EA7F59498C40BC772 (39.6MB).

Image

Here is the list of APKs having this problem:

index sha256
1 000210E6C9292BE5E3A55B96271EDF7F0F3F3AE79AF0144EA7F59498C40BC772
2 00026854B73757D736D8961F311585BA1259AE03D458A6550E6B4DF87DE1A65C
3 000300BFA61C9EC5C6301C6715856EA4B21B28AAA0D594EBA25CD4E099472E0E
4 0003C8F3377B36C0EEF6571566FD279C6D7697F2E197A64B0DE77331DF22B5B9
5 0003EEFCEFD4545477035CD633D7660FC8A15B0452AE2077C96570CEACEA359F

Environment

CPU: Intel(R) Core(TM) i5-9300H (8) @ 4.10 GHz
RAM: 24 GB
OS: Ubuntu 24.04.2 LTS x86_64 Linux 6.14.0-36-generic
Python version: 3.13.7
Quark version: 25.12.1

To Reproduce

Steps to reproduce the behavior:

  1. Download the APKs
  2. Run freshquark
  3. Run quark -a <PATH_TO_THE_APK> -s
  4. Check the summary report

Expected behavior

Ideally, Quark should complete the analysis within 5 minutes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions