Skip to content

Requirements

Limei Gilham edited this page Mar 10, 2015 · 11 revisions

1. Platforms

Droidsafe can be run on

  • Mac OS X, or

  • Linux

2. Memory

  • minimum memory requirement for Droidsafe is 16 GB

  • 64 GB might be required for analyzing large applications

3. Software Dependencies

  • Git

  • Ant

  • Python 2.6+

  • Java 1.7

  • Android SDK 19

  • Eclipse 4.3+ with the Android ADT Plugin installed. See Installing the ADT Plugin for instructions on installing the ADT plugin.

    We recommend that you change the memory requirements in the Eclipse initialization file which is

    • <Eclipse installation directory>/Eclipse app/Contents/MacOS/eclipse.ini on Mac, or
    • <Eclipse installation directory>/eclipse.ini on Linux

    to the following:

    -Xms1g
    -Xmx16g
    

4. Environment Variables

  • ANDROID_SDK_HOME

    This environment should be set to the root of the Android SDK.

    • DroidSafe currently requires Android API 19
  • DROIDSAFE_SRC_HOME

    This environment variable should be set after you have cloned the Droidsafe repository. It should be set to the root directory of the local Droidsafe repository. See Installing the Droidsafe Analyzer for further details.

  • DROIDSAFE_MEMORY (optional)

    By default, the Droidsafe static analyzer will run with 16 gigabytes of maximum memory allocation. If you want to run it with a different memory setting, you can set the environment variable DROIDSAFE_MEMORY to the desired number of gigabytes. For example, a setting of

    DROIDSAFE_MEMORY=32
    

will allow the Droidsafe static analyzer to run with a maximum of 32 gigabytes of memory.


Previous section: Overview

Next section: Installing Droidsafe

Clone this wiki locally