You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/testing.rst
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,29 @@ Then we could test one of the apk in `apk-malware-samples` by the rules `quark-r
15
15
16
16
$ quark -a Ahmyth.apk -s
17
17
18
+
Running analyses based on Rizin
19
+
==================
20
+
21
+
Now Quark also supports `Rizin`_ as one of our Android analysis frameworks. You can use option ``--core-library`` with ``rizin`` to enable the Rizin-based analysis library.
22
+
23
+
.. _`Rizin`: https://github.com/rizinorg/rizin
24
+
25
+
.. code-block:: bash
26
+
27
+
quark -a Ahmyth.apk -s --core-library rizin
28
+
29
+
30
+
For now, Quark is compatible with Rizin v0.4.0. But, users don't have to installed a Rizin with that version. Quark provides a feature to automatically setup a independent Rizin. In this way, the dependency will not conflict with your environment. Type in the above command and let Quark handle everything else for you.
31
+
32
+
If there is a working installation of Rizin installed in the system, Quark will check its version to determine if it is compatible. If true, Quark automatically uses it for the analysis. Otherwise, Quark uses the independent Rizin installed in the Quark directory (``~/.quark-engine``).
33
+
34
+
You can use option ``--rizin-path`` to specify the path of the Rizin executable.
35
+
36
+
.. code-block:: bash
37
+
38
+
quark -a Ahmyth.apk -s --core-library rizin --rizin-path path_to_a_rizin_executable
39
+
40
+
Moreover, if you don't want Quark to install an independent Rizin, you can use the flag ``--disable-rizin-installation`` to disable this feature.
0 commit comments