ABSTRACT
We demo VALERA, a Versatile-yet-lightweight Record-and-replay tool for Android. Record-and-replay is useful across the Android development lifecycle, from bug reproducing to systematic testing. VALERA uses a novel technique named sensor-oriented replay (recording and replaying sensor and network input, event schedules, and inter-app communication via intents) to achieve high accuracy and low overhead. VALERA can be used as an effective replay tool on both real phones and emulators. Evaluation on more than 50 popular Android apps shows that VALERA's performance overhead for either record or replay is just 1%. We demonstrate how VALERA can be used in many development scenarios: bug reproducing, regression testing, event-driven race reproduction and verification, mutation testing via fuzzy replay, and cross-app testing.
- G. W. Dunlap, S. T. King, S. Cinar, M. A. Basrai, and P. M. Chen. Revirt: enabling intrusion analysis through virtual-machine logging and replay. In OSDI'02. Google ScholarDigital Library
- Google. Binaries for Nexus Devices, 2015. https://developers.google.com/android/nexus/drivers.Google Scholar
- Y. Hu and I. Neamtiu. Fuzzy and cross-app replay for smartphone apps. In AST'16. Google ScholarDigital Library
- Y. Hu, T. Azim, and I. Neamtiu. Versatile yet lightweight record-and-replay for android. In OOPSLA'15. Google ScholarDigital Library
- L. Gomez, I. Neamtiu, T. Azim, and T. Millstein. Reran: Timing- and touch-sensitive record and replay for android. In ICSE '13. Google ScholarDigital Library
- M. Ronkko and J. Peltonen. Software industry survey, 2013. http://www.softwareindustrysurvey.org/.Google Scholar
- P. Maiya, A. Kanade, and R. Majumdar. Race detection for android applications. In PLDI'14. Google ScholarDigital Library
- S. Narayanasamy, G. Pokam, and B. Calder. Bugnet: Continuously recording program execution for deterministic replay debugging. In ISCA '05. Google ScholarDigital Library
Index Terms
- VALERA: an effective and efficient record-and-replay tool for android
Recommendations
Record and replay for Android: are we there yet in industrial cases?
ESEC/FSE 2017: Proceedings of the 2017 11th Joint Meeting on Foundations of Software EngineeringMobile applications, or apps for short, are gaining popularity. The input sources (e.g., touchscreen, sensors, transmitters) of the smart devices that host these apps enable the apps to offer a rich experience to the users, but these input sources pose ...
MobiPlay: a remote execution based record-and-replay tool for mobile applications
ICSE '16: Proceedings of the 38th International Conference on Software EngineeringThe record-and-replay approach for software testing is important and valuable for developers in designing mobile applications. However, the existing solutions for recording and replaying Android applications are far from perfect. When considering the ...
Versatile yet lightweight record-and-replay for Android
OOPSLA 2015: Proceedings of the 2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and ApplicationsRecording and replaying the execution of smartphone apps is useful in a variety of contexts, from reproducing bugs to profiling and testing. Achieving effective record-and-replay is a balancing act between accuracy and overhead. On smartphones, the act ...
Comments