This is official reporitory for the Argus-SAF.
For test and play with Argus-SAF, you can fork from our Argus-SAF-playground project, which have the basic setup for a Argus-SAF enhanced project with demo codes of how to perform different kind of analysis.
Argus-SAF/
+--src/main/scala/org.argus.saf Main class for argus-saf CLI.
+--org.argus.jawa Core static analysis data structures, "*.class"&"*.jawa" file managing, jawa compiler, class hierarchy, method body resolving, flow analysis, etc.
+--org.argus.amandroid Android resource parsers, information collector, decompiler, environment method builder, flow analysis, etc.
+--org.argus.amandroid.concurrent Akka actors for Amandroid.
Depend on Jawa
by editing
build.sbt
:
libraryDependencies += "com.github.arguslab" %% "jawa" % VERSION
Depend on Amandroid
by editing
build.sbt
:
libraryDependencies += "com.github.arguslab" %% "amandroid" % VERSION
Note that: Depend on Amandroid will automatically add Jawa as dependency. If you use Maven or Gradle, you should translate it to corresponding format.
Requirement: Java 8
$ java -jar argus-saf_***-version-assembly.jar
In order to take part in Argus-SAF development, you need to:
-
Install the following software:
- IntelliJ IDEA 14 or higher with compatible version of Scala plugin
-
Fork this repository and clone it to your computer
$ git clone https://github.com/arguslab/Argus-SAF.git
-
Open IntelliJ IDEA, select
File -> New -> Project from existing sources
(if from initial window:Import Project
), point to the directory where Scala plugin repository is and then import it as SBT project. -
When importing is finished, go to Argus-SAF repo directory and run
$ git checkout .idea
in order to get artifacts and run configurations for IDEA project.
-
[Optional] To build Argus-SAF more smooth you should give 2GB of the heap size to the compiler process.
-
if you use Scala Compile Server (default):
Settings > Languages & Frameworks > Scala Compile Server > JVM maximum heap size
-
if Scala Compile Server is disabled:
Settings > Build, Execution, Deployment > Compiler > Build process heap size
-
-
Build Argus-SAF from command line: go to Argus-SAF repo directory and run
$ tools/bin/sbt clean compile test
To contribute to the Argus-SAF, please send us a pull request from your fork of this repository!
For more information on building and developing Argus-SAF, please also check out our guidelines for contributing. People who provided excellent ideas are listed in contributor.
If you don't know what to contribute,
you can checkout the issue tracker with help wanted
label, and claim one to help yourself warm up with Argus-SAF.