soarlab / maline

Android Malware Detection Framework
GNU Affero General Public License v3.0
81 stars 31 forks source link

Emulator not being ready #1

Closed mdimjasevic closed 10 years ago

mdimjasevic commented 10 years ago

Sometimes the emulator becomes unavailable for the analysis of a new app. To deal with that, there should be a timeout after the emulator should be ready (e.g., 10 minutes for ARM AVDs, and 2 minutes for x86 AVDs). If the emulator is not ready after the timeout, get_emu_ready.sh should return 1 and maline.sh should kill the emulator, start a new one, and loop as long as the return value is not 0.