ReCBench
Files:
- ReCBench/*.sh: Sripts to reproduce the crash. First line is the sha256 of apk, which can be downloaded from https://androzoo.uni.lu. The sript at the start clear logcat cache, at the end flush log to stdout.
- ReCBench/*.log: Crash message including stack trace (stdout).
Emulators:
- instance to use: Android 6.0 (API level 23, TAG/ABI: default/x86)
- running emulator on headless server: emulator @$avd_name -wipe-data -no-window -no-audio
- installing apk from command line: adb install -rg *.apk (the parameter -r is for replace install, -g is for grant all permission. For older versions of adb, you should seperate them as [-r] [-g].
Suggested Usages:
- Get the apk, apply your patch, re-run the script, collect message from stdout, match regex with java.lang.*Exception, or android.*Excpetion. If does not match, consider your patch valid.